blob: b5ce2c6ceaebc564f9ceb7c70cfc576489ba6492 (
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.2
pkgrel=2
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="f70c7676601f2592bcb7871319e62dd7 Trac-0.12.2.tar.gz
95b1311ca65e1ffcd51a191542f45ba4 tracd.confd
fd3f1cd33a2819c43de82b92a839660d tracd.initd"
|