diff options
author | Ben | 2016-09-10 12:10:42 +0200 |
---|---|---|
committer | Ben | 2016-09-10 12:10:42 +0200 |
commit | d6b4ab951925f1ceccaeb8e1edf3f1d374c5e162 (patch) | |
tree | aa15388559b7691ef1ad84fc73ccb3e89ec6f6b8 | |
download | aur-d6b4ab951925f1ceccaeb8e1edf3f1d374c5e162.tar.gz |
first release, tracking the head of a branch featuring borg support and up to date with upstream/master
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile | 9 | ||||
-rw-r--r-- | PKGBUILD | 41 |
4 files changed, 75 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1543b2249e1e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,24 @@ +pkgbase = backupninja-borg-git + pkgdesc = A centralized way to configure and schedule many different backup utilities + pkgver = 1.0.2 + pkgrel = 1 + url = https://0xacab.org/riseuplabs/backupninja + arch = any + license = GPL + makedepends = git + depends = bash + optdepends = dialog: to use ninjahelper + optdepends = rdiff-backup: rdiff backups + optdepends = gzip: compress backups + optdepends = hwinfo: getting hardware information + optdepends = mariadb-clients: mysql backups + optdepends = rsync: secure and reliable remote syncronisation tool + optdepends = borg: borg backups + optdepends = duplicity: duplicity backups + conflicts = backupninja-git + backup = etc/backupninja.conf + source = git+https://github.com/benzhaomin/backupninja.git#branch=borg_support + md5sums = SKIP + +pkgname = backupninja-borg-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..72e8ffc0db8a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +* diff --git a/Makefile b/Makefile new file mode 100644 index 000000000000..d9e59bbb6337 --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ +install: pkg + sudo pacman -U backupninja-borg-git-*.pkg.tar.xz + +pkg: + makepkg -f + makepkg --printsrcinfo > .SRCINFO + +clean: + rm -rf src/ pkg/ backupninja/ backupninja-borg-git-*.pkg.tar.xz diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4a7c3f722b24 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,41 @@ +_pkgname=backupninja +pkgname=$_pkgname-borg-git +pkgver=1.0.2 +pkgrel=1 +pkgdesc="A centralized way to configure and schedule many different backup utilities" +arch=('any') +url="https://0xacab.org/riseuplabs/backupninja" +license=('GPL') +depends=('bash') +makedepends=('git') +optdepends=('dialog: to use ninjahelper' + 'rdiff-backup: rdiff backups' + 'gzip: compress backups' + 'hwinfo: getting hardware information' + 'mariadb-clients: mysql backups' + 'rsync: secure and reliable remote syncronisation tool' + 'borg: borg backups' + 'duplicity: duplicity backups') +conflicts=('backupninja-git') +source=('git+https://github.com/benzhaomin/backupninja.git#branch=borg_support') +md5sums=('SKIP') +backup=('etc/backupninja.conf') + +build() { + cd "$srcdir/$_pkgname" + ./autogen.sh + ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc --mandir=/usr/share/man --localstatedir=/var + make +} + +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: |