desktop/kfoldersync/PKGBUILD

31 lines
939 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
2017-01-26 11:20:47 +08:00
pkgver=3.4.1
2016-02-11 03:41:17 +08:00
pkgrel=1
2014-12-22 22:09:36 +08:00
pkgdesc="Folder synchronization tool"
arch=('x86_64')
2016-08-30 04:39:11 +08:00
url="https://www.linux-apps.com/p/1127677/"
2014-12-22 22:09:36 +08:00
screenshot='http://kde-apps.org/CONTENT/content-pre1/164092-1.png'
2016-05-11 06:58:37 +08:00
depends=('kcoreaddons' 'kdbusaddons' 'ki18n' 'kio' 'knotifications' 'kxmlgui' 'pcre')
2016-12-01 00:00:29 +08:00
makedepends=('cmake>3.5.2' 'gettext' 'extra-cmake-modules')
2014-12-22 22:09:36 +08:00
license=('GPLv2')
2017-01-26 11:20:47 +08:00
source=("https://dl.opendesktop.org/api/files/download/id/1485353737/$pkgname-$pkgver.tar.xz")
sha256sums=('e934bc9778f593ec098549914b8ff571003e5a432e6cf0a7d81bacfccad7ae11')
2014-12-22 22:09:36 +08:00
build() {
2016-02-11 03:41:17 +08:00
cd $pkgname-$pkgver
2015-12-04 07:43:29 +08:00
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() {
2016-02-11 03:41:17 +08:00
cd $pkgname-$pkgver/build
make DESTDIR="$pkgdir" install
2014-12-22 22:09:36 +08:00
}