summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGavin Lloyd2017-10-26 00:09:06 -0700
committerGavin Lloyd2017-10-26 00:09:06 -0700
commit4102b5bac00e5fa475826d471aa981181ab9474b (patch)
treecb090b04697aef092f293019217dc9fb6797155a
parent870a9f97e084fdbab938d43d505589b243e6ceae (diff)
downloadaur-4102b5bac00e5fa475826d471aa981181ab9474b.tar.gz
325.400c655
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD32
2 files changed, 18 insertions, 27 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e7232683bbd..c500a248506 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,24 +1,21 @@
# Generated by mksrcinfo v8
-# Wed May 3 07:51:36 UTC 2017
+# Thu Oct 26 07:09:05 UTC 2017
pkgbase = packer-git
pkgdesc = Bash wrapper for pacman and aur
- pkgver = 322.5348c19
+ pkgver = 325.400c655
pkgrel = 1
url = https://github.com/gavinhungry/packer
arch = any
license = GPL3
makedepends = git
- depends = grep
- depends = sed
depends = bash
depends = curl
+ depends = grep
depends = pacman
+ depends = sed
depends = jshon
- optdepends = sudo: install and update packages as non-root
- optdepends = customizepkg: apply customizepkg modifications
- provides = packer
conflicts = packer
- source = packer-git::git+https://github.com/gavinhungry/packer
+ source = packer-git::git+https://github.com/gavinhungry/packer.git#branch=master
sha256sums = SKIP
pkgname = packer-git
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
}