mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
33 lines
863 B
Bash
33 lines
863 B
Bash
# Maintainer: Francesco Marinucci <franzmari[at]chakra-project[dot]it>
|
|
|
|
pkgname=kup
|
|
pkgver=0.4.2
|
|
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')
|
|
sha256sums=('47bb9edcb0fe34f00c32ba9450da8536c15f5603e8238e896547f82fb4b60292')
|
|
|
|
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
|
|
}
|