mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
34 lines
1.0 KiB
Bash
34 lines
1.0 KiB
Bash
|
# Maintainer: s8321414 <s8321414 at gmail.com>
|
||
|
# Original Maintainer on CCR: gnastyle from Chakra
|
||
|
# Arch Linux maintainers and contributors:
|
||
|
# Contributor: danyf90 <daniele.formichelli@gmail.com>
|
||
|
# Contributor: Pafrape <pafrape@free.fr
|
||
|
|
||
|
pkgname=kfoldersync
|
||
|
pkgver=2.7.1
|
||
|
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=('kdelibs')
|
||
|
makedepends=('automoc4' 'cmake' 'gettext')
|
||
|
license=('GPLv2')
|
||
|
source=("http://kde-apps.org/CONTENT/content-files/164092-${pkgname}_${pkgver}.orig.tar.xz")
|
||
|
sha512sums=('af0304c1d13f55118f2654f19c85003214c53657ab6fe3840c7c83f049b0fc59916f31ef55431f423342ed96a4c6b4273b48190e0cc7099a7a9e1d4b7cd7c9e1')
|
||
|
|
||
|
build() {
|
||
|
mkdir -p $srcdir/build
|
||
|
|
||
|
cd $srcdir/build
|
||
|
|
||
|
CXXFLAGS="$CXXFLAGS -std=gnu++11"
|
||
|
cmake -DCMAKE_INSTALL_PREFIX=$(kde4-config --prefix) -DCMAKE_BUILD_TYPE=Release ../${pkgname}-${pkgver}
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd $srcdir/build
|
||
|
make DESTDIR="$pkgdir/" install
|
||
|
}
|