summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorschrotthaufen2015-07-14 22:20:42 +0200
committerschrotthaufen2015-07-14 22:20:42 +0200
commit6e8aa29788b6145ea9baa135915a14867e0f6ee0 (patch)
tree1a8fa580caf8c6b5c4b09245456a196551ebdcd6
downloadaur-6e8aa29788b6145ea9baa135915a14867e0f6ee0.tar.gz
move to aur4
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD34
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..731716c74405
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = acr-git
+ pkgdesc = A fully compatible autoconf replacement
+ pkgver = 20150714.104.125ba72
+ pkgrel = 1
+ url = http://nopcode.org
+ arch = any
+ license = GPL
+ makedepends = git
+ depends = sh
+ provides = acr
+ conflicts = acr
+ conflicts = acr-hg
+ source = acr-git::git://github.com/radare/acr.git
+ md5sums = SKIP
+
+pkgname = acr-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..86a617743ee9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+pkgname=acr-git
+pkgver=20150714.104.125ba72
+pkgrel=1
+pkgdesc="A fully compatible autoconf replacement"
+arch=('any')
+url="http://nopcode.org"
+license=('GPL')
+depends=('sh')
+makedepends=('git')
+provides=('acr')
+conflicts=('acr' 'acr-hg')
+
+source=("$pkgname"::"git://github.com/radare/acr.git")
+md5sums=('SKIP')
+
+pkgver () {
+ _date=`date +"%Y%m%d"`
+ cd "${srcdir}/${pkgname}"
+ echo "$_date.$(git rev-list --count master).$(git rev-parse --short master)"
+}
+
+build() {
+ cd "${srcdir}/${pkgname}"
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}"
+ make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et: