desktop/kfoldersync/PKGBUILD
2016-05-10 23:58:37 +01:00

31 lines
948 B
Bash

# Arch Linux maintainers and contributors:
# Contributor: danyf90 <daniele.formichelli@gmail.com>
# Contributor: Pafrape <pafrape@free.fr
pkgname=kfoldersync
pkgver=3.2.0
pkgrel=1
pkgdesc="Folder synchronization tool"
arch=('x86_64')
url="http://kde-apps.org/content/show.php/KFolderSync?content=164092"
screenshot='http://kde-apps.org/CONTENT/content-pre1/164092-1.png'
depends=('kcoreaddons' 'kdbusaddons' 'ki18n' 'kio' 'knotifications' 'kxmlgui' 'pcre')
makedepends=('cmake' 'gettext' 'extra-cmake-modules')
license=('GPLv2')
source=("http://kde-apps.org/CONTENT/content-files/164092-$pkgname-$pkgver.tar.xz")
sha256sums=('a057faa1a80d8995604accb423fe14387c5a192a3673986e3de2edf413aee52b')
build() {
cd $pkgname-$pkgver
mkdir -p build && cd build
CXXFLAGS="$CXXFLAGS -std=gnu++11"
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
make
}
package() {
cd $pkgname-$pkgver/build
make DESTDIR="$pkgdir" install
}