aboutsummaryrefslogtreecommitdiffstats
path: root/testing/bugzilla/APKBUILD
blob: b4c66b2f0186e748e461c38bdf2b0e6dcc533eae (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
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=bugzilla
pkgver=4.4
pkgrel=0
pkgdesc="A bug tracker"
url="http://www.bugzilla.org"
arch="noarch"
license="MPL 2.0"
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"
}

package() {
	cd "$_builddir"
	install -d -m0755 "$pkgdir"/usr/share/webapps
	cp -a $pkgname-$pkgver "$pkgdir"/usr/share/webapps
	rm -rf $pkgdir/usr/share/webapps/$pkgname/.bzr
	rm -rf $pkgdir/usr/share/webapps/$pkgname/.bzrignore
}
md5sums="88fc3e1ec2ed37973dd134032168a0e7  bugzilla-4.4.tar.gz"
sha256sums="709e1b07ca23a91fbf5fb3d34645a8b574af39034b216daa1811effd02ebd72e  bugzilla-4.4.tar.gz"
sha512sums="3ae45ebca5b3faf0d416d26b5f0e759067837e09c38f137aeea49d1ebfe8e9277a7d5337b13f54484c959ad86cd36e05c2f592c6d759dc302a92cd2993b1622f  bugzilla-4.4.tar.gz"