diff options
author | aurelien <aurelien@cwb.io> | 2012-11-13 16:42:17 +0100 |
---|---|---|
committer | aurelien <aurelien@cwb.io> | 2012-11-13 16:42:17 +0100 |
commit | 5ae2d0f4bb7b2d29aca46139292207252616ac1f (patch) | |
tree | 5ddf00b36f0c80c65769409af8be6bffe7643206 /pcr/packer | |
parent | 0019e0942eb838ccf7fa72962e0f0d9f49cd1cf4 (diff) |
humm be
Diffstat (limited to 'pcr/packer')
-rw-r--r-- | pcr/packer/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pcr/packer/PKGBUILD b/pcr/packer/PKGBUILD new file mode 100644 index 000000000..f2ea54a76 --- /dev/null +++ b/pcr/packer/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io> + +pkgname=packer +pkgver=20120302 +pkgrel=1 +pkgdesc="Bash wrapper for pacman and aur" +url="http://github.com/bruenig/packer" +license="GPL" +arch=('any') +makedepends=('git') +depends=('grep' 'sed' 'bash' 'curl' 'pacman' 'jshon') +optdepends=('sudo: install and update packages as non-root' + 'customizepkg: apply customizepkg modifications') +_gitroot='https://github.com/bruenig/packer.git' +_gitname='packer' + +# Xavion is a non-contributing idiot + +build() { + cd "$srcdir" + + msg "Connecting to github GIT server...." + + if [ -d "$srcdir/$_gitname" ] ; then + cd $_gitname && git pull origin + else + git clone "$_gitroot" + cd $_gitname + fi + + mkdir -p "$pkgdir/usr/bin/" + mkdir -p "$pkgdir/usr/share/man/man8/" + install -m 755 packer "$pkgdir/usr/bin/packer" + install -m 644 packer.8 "$pkgdir/usr/share/man/man8/packer.8" +} + |