diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-06-11 13:18:22 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-06-11 13:18:22 +0000 |
commit | 3a4b60e9e1c4fd340d6847f3f3d4b1380387026a (patch) | |
tree | 2316472742fcd3dffb5e1749b67084c626cd5a49 /main/trac/APKBUILD | |
parent | 6be82ec40a642fc049398d571ce8394ca88d43ab (diff) | |
download | aports-3a4b60e9e1c4fd340d6847f3f3d4b1380387026a.tar.bz2 aports-3a4b60e9e1c4fd340d6847f3f3d4b1380387026a.tar.xz |
main/trac,py-sqlite,py-setuptools,py-genshi: moved from testing
Diffstat (limited to 'main/trac/APKBUILD')
-rw-r--r-- | main/trac/APKBUILD | 35 |
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" |