summaryrefslogtreecommitdiff
path: root/pcr/packer-git/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-08-29 01:59:22 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-09-22 16:14:58 -0300
commit998a41b7d3ae68cb0eeedb1cf03edf380509cdb7 (patch)
tree2a8fae84354c17ee10dda4053e4ab5f5d418f62d /pcr/packer-git/PKGBUILD
parente0cbe4fbf5c8a5e14b94b776f2e74195c4006fe8 (diff)
downloadabslibre-998a41b7d3ae68cb0eeedb1cf03edf380509cdb7.tar.gz
abslibre-998a41b7d3ae68cb0eeedb1cf03edf380509cdb7.tar.bz2
abslibre-998a41b7d3ae68cb0eeedb1cf03edf380509cdb7.zip
packer-git: add new package to [pcr]
* replace packer * add pur support * fix bug #794 -> https://labs.parabola.nu/issues/794
Diffstat (limited to 'pcr/packer-git/PKGBUILD')
-rw-r--r--pcr/packer-git/PKGBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/pcr/packer-git/PKGBUILD b/pcr/packer-git/PKGBUILD
new file mode 100644
index 000000000..398306da6
--- /dev/null
+++ b/pcr/packer-git/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer (Arch): Kyle Keen <keenerd@gmail.com>
+# Contributor (Arch): Gilrain <pierre.buard+aur gmail com>
+# Contributor (Arch): bruenig
+# Maintainer: André Silva <emulatorman@parabola.nu>
+# Contributor: Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+_pkgname=packer
+pkgname=packer-git
+pkgver=r242.ed928f8
+pkgrel=1
+pkgdesc="Bash wrapper for pacman and pur"
+url="http://github.com/keenerd/packer"
+license=("GPL3")
+arch=('any')
+makedepends=('git')
+depends=('grep' 'sed' 'bash' 'curl' 'pacman' 'jshon' 'expac')
+optdepends=('sudo: install and update packages as non-root'
+ 'customizepkg: apply customizepkg modifications')
+replaces=($_pkgname)
+conflicts=($_pkgname)
+provides=($_pkgname)
+#source=('git://github.com/keenerd/packer.git')
+source=('git+https://github.com/keenerd/packer.git'
+ 'pur-support.patch')
+md5sums=('SKIP'
+ '8818f9d741539da4fadf9dfb1a1c02c6')
+
+pkgver() {
+ cd $_pkgname
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ cd $_pkgname
+ patch -Np1 -i ../pur-support.patch
+}
+
+package() {
+ install -Dm755 "$srcdir/$_pkgname/packer" "$pkgdir/usr/bin/packer"
+ install -Dm644 "$srcdir/$_pkgname/packer.8" "$pkgdir/usr/share/man/man8/packer.8"
+}