summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoritz Lipp2015-06-15 20:19:16 +0200
committerMoritz Lipp2015-06-15 20:19:16 +0200
commit9be07cd3e81abd097a1dcaf802d2e42fffe5aeea (patch)
tree00602f90cb6b95dd7002697557a98367e399dfb8
downloadaur-9be07cd3e81abd097a1dcaf802d2e42fffe5aeea.tar.gz
Initial import
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD34
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..dbaa300605b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = roundup-hg
+ pkgdesc = Issue tracking system.
+ pkgver = r4849.e68920390aad
+ pkgrel = 1
+ url = http://www.roundup-tracker.org
+ arch = any
+ license = PSF
+ makedepends = mercurial
+ makedepends = sed
+ depends = python2
+ conflicts = roundup
+ source = roundup::hg+http://hg.code.sf.net/p/roundup/code
+ sha1sums = SKIP
+
+pkgname = roundup-hg
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e94bed29616
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Moritz Lipp <mlq@pwmt.org>
+
+pkgname=roundup-hg
+_pkgname=roundup
+pkgver=r4849.e68920390aad
+pkgrel=1
+pkgdesc="Issue tracking system."
+arch=('any')
+url="http://www.roundup-tracker.org"
+license="PSF"
+groups=()
+depends=('python2')
+makedepends=('mercurial' 'sed')
+conflicts=('roundup')
+source=("${_pkgname}::hg+http://hg.code.sf.net/p/${_pkgname}/code")
+sha1sums=('SKIP')
+
+build() {
+ cd "$srcdir/$_pkgname"
+ python2 setup.py build
+}
+
+package() {
+ cd "$srcdir/$_pkgname"
+ python2 setup.py install --prefix="/usr" --root="$pkgdir" --optimize=1
+ sed -i -e "s|$pkgdir||" "$pkgdir"/usr/bin/*
+}
+
+pkgver() {
+ cd "$srcdir/$_pkgname"
+ printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)"
+}
+
+# vim:set ts=2 sw=2 et: