desktop/kup/PKGBUILD
2016-06-13 12:18:33 +01:00

33 lines
920 B
Bash

pkgname=kup
_pkgname=Kup
pkgver=0.6.1
pkgrel=1
pkgdesc="A KDE-based frontend for the bup backup software"
arch=('x86_64')
url="http://kde-apps.org/content/show.php/Kup+Backup+System?content=147465"
license=('GPL')
depends=('qt5-base' 'kcoreaddons' 'kdbusaddons' 'ki18n' 'kio' 'solid' 'kidletime'
'knotifications' 'kiconthemes' 'kconfig' 'kinit' 'bup' 'rsync' 'python2-pyxattr')
makedepends=('cmake' 'extra-cmake-modules')
source=("https://github.com/spersson/${_pkgname}/archive/${pkgname}-${pkgver}.tar.gz")
sha256sums=('e8582089fe761896c452cbb307deae7ea617790ee7ae0ee3cc8aa2ba14987614')
build() {
cd ${_pkgname}-${pkgname}-${pkgver}
[ -d "build" ] && rm -rf build
mkdir build
cd build
cmake ../ \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
make
}
package() {
cd ${_pkgname}-${pkgname}-${pkgver}
cd build
make DESTDIR=${pkgdir} install
}