Je suis ent rain de créer un PKGBUIL pour le logiciel KFolerSync.
mais n'étant pas un spécialiste dans le domaine, j'aurais besoin de votre aide pour le compléter et le corriger.
Voici donc la méthode d'installation:
Code : Tout sélectionner
How To Build
-=-=-=-=-=-=-=-=-=-=-=-=-=
--- On Unix:
cd <project_name_path>
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=$(kde4-config --prefix) -DCMAKE_BUILD_TYPE=Release .. <- do not forget the '..'
make
make install or su -c 'make install'
to uninstall the project:
make uninstall or su -c 'make uninstall'
Note: you can use another build path. Then cd in your build dir and:
export KDE_SRC=path_to_your_src
cmake $KDE_SRC -DCMAKE_INSTALL_PREFIX=$KDEDIRS -DCMAKE_BUILD_TYPE=Debug
where $KDEDIRS points to your KDE installation prefix.
Code : Tout sélectionner
# Maintainer: Pafrapé <pafrape@±ree.fr
# Contributor: Pafrapé <pafrape@±ree.fr>
pkgname=KFolderSync
pkgver=1.1.2
pkgrel=1
pkgdesc="Folder synchronization tool"
arch=(any)
url="http://kde-apps.org/content/show.php/KFolderSync?content=164092"
depends=('kdebase-workspace')
license=('GPL')
source=(http://downloads.sourceforge.net/project/kfoldersync/kfoldersync-$pkgname-$pkgver.tar.xz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fkfoldersync%2Ffiles%2F&ts=1395820410&use_mirror=freefr)
makedepends=('cmake')
md5sums=('03c33de2b1f69e2f1301fa0efb4a2940 ')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=$KDEDIRS -DCMAKE_BUILD_TYPE=Debug
make || return 1
make prefix=$pkgdir/usr install