diff options
author | Serge Victor | 2015-06-26 10:15:22 +0700 |
---|---|---|
committer | Serge Victor | 2015-06-26 10:15:22 +0700 |
commit | 4109626025c267875789fdb091372548f45e33db (patch) | |
tree | 5c63f1f9e6c5da4e39be20bee8d4dc617aae3b83 /PKGBUILD | |
parent | c1c149c19a32da16f4dd8c23afbb889edd57632f (diff) | |
download | aur-4109626025c267875789fdb091372548f45e33db.tar.gz |
IMHO ready for production.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 13 insertions, 3 deletions
@@ -1,17 +1,22 @@ _pkgname=backupninja pkgname=$_pkgname-git pkgver=1.0.1.r59.g41c3544 -pkgrel=1 +pkgrel=2 pkgdesc="A centralized way to configure and schedule many different backup utilities" arch=('any') url="https://labs.riseup.net/code/projects/backupninja" license=('GPL') depends=('bash') makedepends=('git') -optdepends=('rdiff-backup: rdiff backups' 'gzip' 'hwinfo' 'duplicity: duplicity -backups') +optdepends=('rdiff-backup: rdiff backups' + 'gzip: compress backups' + 'hwinfo: geting hardware information' + 'mariadb-clients: mysql backups' + 'rsync: secure and reliable remote syncronisation tool' + 'duplicity: duplicity backups') source=('git+https://labs.riseup.net/code/backupninja.git') md5sums=('SKIP') +backup=('etc/backupninja.conf') pkgver() { cd $_pkgname git describe --long | sed 's/^backupninja-//;s/\([^-]*-g\)/r\1/;s/-/./g' @@ -27,6 +32,11 @@ build() { package() { cd "$srcdir/$_pkgname" make DESTDIR="$pkgdir" install + chmod a-x $pkgdir/usr/lib/$_pkgname/parseini + chmod a-x $pkgdir/usr/lib/$_pkgname/vserver + mkdir -p "$pkgdir/usr/share/doc/$_pkgname/examples" + install -Dm644 $pkgdir/usr/share/$_pkgname/example.* $pkgdir/usr/share/doc/$_pkgname/examples + rm $pkgdir/usr/share/$_pkgname/example.* } # vim:set ts=2 sw=2 et: |