diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-11-19 10:10:33 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-11-19 10:10:33 -0300 |
commit | 9e30cea6b8a2e90fd8958ca1f773e3a382179763 (patch) | |
tree | 7ce1eda16c69a04998d595f3bfcccf9a65489327 /pcr/packer/PKGBUILD | |
parent | 503317d2f4cb14793d90cca90822975c41e8c0a1 (diff) | |
parent | 858daf289b238f4aa3190656635fc354ddd2bce9 (diff) |
Merge branch 'master' of gparabola:abslibre-mips64el
Conflicts:
social/sobby/PKGBUILD
~fauno/kyotocabinet/PKGBUILD
~fauno/kyototycoon/PKGBUILD
Diffstat (limited to 'pcr/packer/PKGBUILD')
-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" +} + |