blob: 275c453ff0cde35179736e5566c76e8cf7dc0b4e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=trac
_realname=Trac
pkgver=0.12.3
pkgrel=0
pkgusers="tracd"
pkggroups="tracd"
pkgdesc="Trac is a minimalistic web-based project management, wiki and bug/issue tracking system."
url="http://trac.edgewall.com/"
arch="noarch"
license="GPL"
depends="python py-setuptools py-genshi"
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="0cef201e223fafb5c3dd99577403f572 Trac-0.12.3.tar.gz
95b1311ca65e1ffcd51a191542f45ba4 tracd.confd
fd3f1cd33a2819c43de82b92a839660d tracd.initd"
|