summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pacner2015-06-13 22:38:06 +0200
committerJan Pacner2015-06-13 22:44:58 +0200
commite20fb5dc8a2a5492721469ccbf8dba5e12efca83 (patch)
tree3a288154bccaed2df3993569b42aea685c4cbef6
downloadaur-e20fb5dc8a2a5492721469ccbf8dba5e12efca83.tar.gz
add: .SRCINFO
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD34
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5a34e95ebc1
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = packer-git
+ pkgdesc = Bash wrapper for pacman and aur
+ pkgver = 292.bc9976d
+ pkgrel = 1
+ url = https://github.com/gavinhungry/packer
+ arch = any
+ license = GPL3
+ makedepends = git
+ depends = grep
+ depends = sed
+ depends = bash
+ depends = curl
+ depends = pacman
+ 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
+ sha256sums = SKIP
+
+pkgname = packer-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e917ec0b4ef
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Jan Pacner
+# Contributor: dumblob <dumblob@gmail.com>
+
+pkgname=packer-git
+pkgver=292.bc9976d
+pkgrel=1
+pkgdesc='Bash wrapper for pacman and aur'
+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')
+makedepends=('git')
+optdepends=('sudo: install and update packages as non-root'
+ 'customizepkg: apply customizepkg modifications')
+provides=('packer')
+conflicts=('packer')
+
+build() {
+ true
+}
+
+pkgver() {
+ cd "$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"
+}