desktop/kfoldersync/PKGBUILD
2016-08-29 22:39:11 +02:00

31 lines
936 B
Bash

# Arch Linux maintainers and contributors:
# Contributor: danyf90 <daniele.formichelli@gmail.com>
# Contributor: Pafrape <pafrape@free.fr
pkgname=kfoldersync
pkgver=3.3.0
pkgrel=1
pkgdesc="Folder synchronization tool"
arch=('x86_64')
url="https://www.linux-apps.com/p/1127677/"
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=("https://dl.opendesktop.org/api/files/download/id/1472295821/kfoldersync-$pkgver.tar.xz")
sha256sums=('d1acb855b6d3660f017abd3adec10c35e33834d04c3a4c15b98ea95c8fdebb55')
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
}