diff options
author | Gavin Lloyd | 2017-10-26 00:09:06 -0700 |
---|---|---|
committer | Gavin Lloyd | 2017-10-26 00:09:06 -0700 |
commit | 4102b5bac00e5fa475826d471aa981181ab9474b (patch) | |
tree | cb090b04697aef092f293019217dc9fb6797155a /PKGBUILD | |
parent | 870a9f97e084fdbab938d43d505589b243e6ceae (diff) | |
download | aur-4102b5bac00e5fa475826d471aa981181ab9474b.tar.gz |
325.400c655
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 32 |
1 files changed, 13 insertions, 19 deletions
@@ -1,34 +1,28 @@ -# Maintainer: Jan Pacner +# Maintainer: Gavin Lloyd <gavinhungry@gmail.com> +# Contributor: Jan Pacner # Contributor: dumblob <dumblob@gmail.com> pkgname=packer-git -pkgver=322.5348c19 +pkgver=325.400c655 pkgrel=1 pkgdesc='Bash wrapper for pacman and aur' +arch=('any') url="https://github.com/gavinhungry/packer" license=('GPL3') -arch=('any') -source=("$pkgname::git+https://github.com/gavinhungry/packer") -sha256sums=('SKIP') -# most of depends are not needed, they're present only for clarity -depends=('grep' 'sed' 'bash' 'curl' 'pacman' 'jshon') +depends=('bash' 'curl' 'grep' 'pacman' 'sed' 'jshon') makedepends=('git') -optdepends=('sudo: install and update packages as non-root' - 'customizepkg: apply customizepkg modifications') -provides=('packer') conflicts=('packer') - -build() { - true -} +source=("${pkgname}::git+${url}.git#branch=master") +sha256sums=('SKIP') pkgver() { - cd "$pkgname" - echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" + cd "${srcdir}/${pkgname}" + echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) } package() { - cd "$pkgname" - install -D -m 755 packer "$pkgdir/usr/bin/packer" - install -D -m 644 packer.8 "$pkgdir/usr/share/man/man8/packer.8" + cd "${pkgname}" + + install -Dm755 packer "${pkgdir}"/usr/bin/packer + install -Dm644 packer.8 "${pkgdir}"/usr/share/man/man8/packer.8 } |