desktop/kfoldersync/PKGBUILD

31 lines
979 B
Bash
Raw Normal View History

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