aboutsummaryrefslogtreecommitdiffstats
path: root/main/trac/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/trac/APKBUILD')
-rw-r--r--main/trac/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/main/trac/APKBUILD b/main/trac/APKBUILD
new file mode 100644
index 0000000000..d4e09e554e
--- /dev/null
+++ b/main/trac/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Michael Mason <ms13sp@gmail.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=trac
+_realname=Trac
+pkgver=0.11.7
+pkgrel=1
+pkgusers="tracd"
+pkggroups="tracd"
+pkgdesc="Trac is a minimalistic web-based project management, wiki and bug/issue tracking system."
+url="http://trac.edgewall.com/"
+license="GPL"
+depends="python py-setuptools py-genshi py-sqlite"
+makedepends="python-dev"
+install="$pkgname.pre-install"
+source="ftp://ftp.edgewall.com/pub/$pkgname/$_realname-$pkgver.tar.gz
+ tracd.confd
+ tracd.initd"
+
+_builddir="$srcdir"/$_realname-$pkgver
+
+build() {
+ cd "$_builddir"
+ python setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+package() {
+ cd "$_builddir"
+ install -d -o tracd -g tracd "$pkgdir"/var/lib/trac
+ install -m755 -D "$srcdir"/tracd.initd "$pkgdir"/etc/init.d/tracd
+ install -m644 -D "$srcdir"/tracd.confd "$pkgdir"/etc/conf.d/tracd
+}
+
+md5sums="3cd96dad0e4f25d977c422fd6e985e99 Trac-0.11.7.tar.gz
+95b1311ca65e1ffcd51a191542f45ba4 tracd.confd
+e53761b1e84c5d68c8e6c4b837e57008 tracd.initd"