blob: 4a44ee852094d2cca44dba6b33f2f18f430de1d6 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=bugzilla
pkgver=4.2.3
pkgrel=0
pkgdesc="bug tracker"
url="http://www.bugzilla.org"
arch="noarch"
license="GPL"
depends=""
depends_dev="perl perl-timedate perl-datetime perl-email-abstract \
perl-email-address perl-email-date-format \
perl-email-messageid perl-email-mime perl-email-mime-attachment-stripper \
perl-email-mime-contenttype perl-email-mime-encodings \
perl-email-reply perl-email-sender perl-email-simple perl-patchreader \
perl-ldap perl-soap-lite perl-authen-sasl \
perl-xml-twig perl-html-scrubber perl-radiusperl perl-template-toolkit"
makedepends="$depends_dev"
install=""
subpackages=""
source="http://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-$pkgver.tar.gz"
_builddir="$srcdir"
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
install -d -m0755 "$pkgdir"/usr/share/webapps
find $pkgname-$pkgver -type d -name CVS -exec rm -rf {} \; || true
find $pkgname-$pkgver -type f -name .cvsignore -exec rm -f {} \; || true
cp -a $pkgname-$pkgver "$pkgdir"/usr/share/webapps
rm -rf $pkgdir/usr/share/webapps/$pkgname/.bzr
rm -rf $pkgdir/usr/share/webapps/$pkgname/.bzrrev
rm -rf $pkgdir/usr/share/webapps/$pkgname/.bzrignore
}
package() {
cd "$_builddir"
}
md5sums="d3f9690ebd41cd084c4b6be9c7d63523 bugzilla-4.2.3.tar.gz"
|