desktop/kup/PKGBUILD

32 lines
869 B
Bash
Raw Normal View History

2014-01-27 01:42:36 +08:00
pkgname=kup
2015-03-20 17:18:26 +08:00
_pkgname=Kup
2017-06-01 07:45:27 +08:00
pkgver=0.7.0
pkgrel=1
2014-01-27 01:42:36 +08:00
pkgdesc="A KDE-based frontend for the bup backup software"
arch=('x86_64')
2017-06-01 07:45:27 +08:00
url="https://github.com/spersson/Kup"
2014-01-27 01:42:36 +08:00
license=('GPL')
2017-06-01 07:45:27 +08:00
depends=('qt5-base' 'plasma-framework' 'kcoreaddons' 'kdbusaddons' 'ki18n' 'kio' 'solid' 'kidletime'
2016-10-02 03:41:58 +08:00
'knotifications' 'kiconthemes' 'kconfig' 'kinit' 'bup' 'rsync' 'python2-pyxattr' 'git')
2015-05-14 21:17:02 +08:00
makedepends=('cmake' 'extra-cmake-modules')
2015-03-20 17:18:26 +08:00
source=("https://github.com/spersson/${_pkgname}/archive/${pkgname}-${pkgver}.tar.gz")
2017-06-01 07:45:27 +08:00
sha256sums=('afbb77085dd0610c90dde771e7d646cbbbb75808fd26561adca85d701a74ecbd')
2014-01-27 01:42:36 +08:00
build() {
2015-03-20 17:18:26 +08:00
cd ${_pkgname}-${pkgname}-${pkgver}
2014-01-27 01:42:36 +08:00
[ -d "build" ] && rm -rf build
mkdir build
cd build
cmake ../ \
-DCMAKE_BUILD_TYPE=Release \
2017-06-01 07:45:27 +08:00
-DCMAKE_INSTALL_PREFIX=/usr
2014-01-27 01:42:36 +08:00
make
}
package() {
2015-03-20 17:18:26 +08:00
cd ${_pkgname}-${pkgname}-${pkgver}
2014-01-27 01:42:36 +08:00
cd build
2015-03-20 17:18:26 +08:00
make DESTDIR=${pkgdir} install
}