desktop/kup/PKGBUILD
2018-01-07 11:53:57 +00:00

32 lines
869 B
Bash

pkgname=kup
_pkgname=Kup
pkgver=0.7.1
pkgrel=1
pkgdesc="A KDE-based frontend for the bup backup software"
arch=('x86_64')
url="https://github.com/spersson/Kup"
license=('GPL')
depends=('qt5-base' 'plasma-framework' 'kcoreaddons' 'kdbusaddons' 'ki18n' 'kio' 'solid' 'kidletime'
'knotifications' 'kiconthemes' 'kconfig' 'kinit' 'bup' 'rsync' 'python2-pyxattr' 'git')
makedepends=('cmake' 'extra-cmake-modules')
source=("https://github.com/spersson/${_pkgname}/archive/${pkgname}-${pkgver}.tar.gz")
sha256sums=('f78549dcfdf111a91ea923cba352e87ff8268249a92fa000d02c0d02feb435c3')
build() {
cd ${_pkgname}-${pkgname}-${pkgver}
[ -d "build" ] && rm -rf build
mkdir build
cd build
cmake ../ \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd ${_pkgname}-${pkgname}-${pkgver}
cd build
make DESTDIR=${pkgdir} install
}