summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD32
1 files changed, 13 insertions, 19 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b2cd2889efc..28492eadb33 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}