desktop/kfoldersync/PKGBUILD
2017-01-26 03:20:47 +00:00

31 lines
939 B
Bash

# Arch Linux maintainers and contributors:
# Contributor: danyf90 <daniele.formichelli@gmail.com>
# Contributor: Pafrape <pafrape@free.fr
pkgname=kfoldersync
pkgver=3.4.1
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>3.5.2' 'gettext' 'extra-cmake-modules')
license=('GPLv2')
source=("https://dl.opendesktop.org/api/files/download/id/1485353737/$pkgname-$pkgver.tar.xz")
sha256sums=('e934bc9778f593ec098549914b8ff571003e5a432e6cf0a7d81bacfccad7ae11')
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
}