desktop/kup/PKGBUILD

32 lines
783 B
Bash
Raw Normal View History

2014-01-27 01:42:36 +08:00
# Maintainer: Francesco Marinucci <franzmari[at]chakra-project[dot]it>
pkgname=kup
2014-10-27 07:23:11 +08:00
pkgver=0.5.0
2014-03-27 20:59:37 +08:00
pkgrel=1
2014-01-27 01:42:36 +08:00
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")
2014-10-27 07:23:11 +08:00
sha256sums=('0d9d7d4c5e12f5d799c42dd8da9f0c98dbff93bac6242da73e65ea1d9400d223')
2014-01-27 01:42:36 +08:00
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
}