desktop/kfoldersync/PKGBUILD
2015-12-03 23:43:29 +00:00

31 lines
979 B
Bash

# Arch Linux maintainers and contributors:
# Contributor: danyf90 <daniele.formichelli@gmail.com>
# Contributor: Pafrape <pafrape@free.fr
pkgname=kfoldersync
pkgver=3.0.0
pkgrel=2
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')
makedepends=('cmake' 'gettext' 'extra-cmake-modules')
license=('GPLv2')
source=("http://kde-apps.org/CONTENT/content-files/164092-${pkgname}_${pkgver}.orig.tar.xz")
sha256sums=('4b9761abe7a1df7616963594eeb381a388d43c6e17ee9a2dfdd59842d0ee0240')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
mkdir -p build && cd build
CXXFLAGS="$CXXFLAGS -std=gnu++11"
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}/build
make DESTDIR="$pkgdir/" install
}