diff options
author | PenguinSnail | 2016-11-05 17:36:10 -0400 |
---|---|---|
committer | PenguinSnail | 2016-11-05 17:36:10 -0400 |
commit | d1c2e8948ef1aada1e84b9ae08450a9899bdf216 (patch) | |
tree | 675a978495f09c5006c17fe5ab7924527c58ced6 | |
download | aur-d1c2e8948ef1aada1e84b9ae08450a9899bdf216.tar.gz |
Added PKGBUILD and .SRCINFO
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..217a466a8e51 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = quick-back-git + pkgdesc = Quick, simple command line backup tool + pkgver = r4.914774a + pkgrel = 1 + url = https://github.com/PenguinSnail/Quick-Back + arch = any + license = GPL3 + makedepends = git + depends = rsync + provides = quick-back + conflicts = quick-back + source = git://github.com/PenguinSnail/Quick-Back + md5sums = SKIP + +pkgname = quick-back-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..692f2e174787 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: PenguinSnail + +pkgname=quick-back-git +pkgver=r4.914774a +pkgrel=1 +pkgdesc="Quick, simple command line backup tool" +arch=('any') +url="https://github.com/PenguinSnail/Quick-Back" +license=('GPL3') +depends=('rsync') +makedepends=('git') +provides=('quick-back') +conflicts=('quick-back') +options=() +source=('git://github.com/PenguinSnail/Quick-Back') +md5sums=('SKIP') + +_gitname='Quick-Back' + +pkgver() { + cd $srcdir/$_gitname + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + mkdir $pkgdir/usr + mkdir $pkgdir/usr/bin + cd $srcdir/$_gitname + cp quick-back $pkgdir/usr/bin + chmod +x $pkgdir/usr/bin/quick-back +} + |