desktop/kup/PKGBUILD
Francesco Marinucci 5bbcae2b1c kup update to 0.4.1
2014-03-27 12:59:37 +00:00

33 lines
850 B
Bash

# Maintainer: Francesco Marinucci <franzmari[at]chakra-project[dot]it>
pkgname=kup
pkgver=0.4.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=('kde-runtime' 'kdelibs' 'bup' 'rsync')
makedepends=('cmake' 'automoc4')
source=("http://kde-apps.org/CONTENT/content-files/147465-${pkgname}-${pkgver}.tar.gz")
sha256sums=('6007793e01517a3fb312e07c445ad6857aa2d5f699f54886ff9eb5d556a51c4c')
screenshot="http://kde-apps.org/CONTENT/content-pre1/147465-1.png"
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
}