# Maintainer: Francesco Marinucci pkgname=kup pkgver=0.5.0 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=('kde-runtime' 'kdelibs' 'bup' 'rsync') makedepends=('cmake' 'automoc4') source=("http://kde-apps.org/CONTENT/content-files/147465-${pkgname}-${pkgver}.tar.gz") sha256sums=('0d9d7d4c5e12f5d799c42dd8da9f0c98dbff93bac6242da73e65ea1d9400d223') build() { cd ${pkgname}-${pkgver} [ -d "build" ] && rm -rf build mkdir build cd build cmake ../ \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd ${pkgname}-${pkgver} cd build make DESTDIR=${pkgdir} install }