summaryrefslogtreecommitdiff
path: root/user/bugzilla/APKBUILD
blob: 897142939cb1156ca3c1123ca0c8b1f6fa0351e3 (plain) (blame)
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
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=bugzilla
pkgver=5.0.4
pkgrel=0
pkgdesc="Bug tracking software from Mozilla"
url="https://www.bugzilla.org/"
arch="noarch"
options="!check"  # "Cannot determine your time zone"; all other tests pass
license="MPL-2.0"
# First section are required deps.  Second section are optional features we use.
depends="perl-cgi perl-datetime perl-datetime-timezone perl-dbi perl-email-mime
	perl-email-sender perl-json-xs perl-list-moreutils
	perl-math-random-isaac perl-template-toolkit perl-timedate perl-uri

	patchutils perl-authen-sasl perl-chart perl-encode-detect
	perl-email-reply perl-file-copy-recursive perl-file-mimeinfo
	perl-file-which perl-gd perl-gdgraph perl-gdtextutil perl-html-scrubber
	perl-html-formattext-withlinks perl-io-stringy perl-json-rpc
	perl-net-smtp-ssl perl-patchreader perl-soap-lite perl-template-gd
	perl-test-taint perl-xml-twig perl-xmlrpc-lite"
makedepends="perl-dev perl-module-build"
subpackages=""
source="https://ftp.mozilla.org/pub/mozilla.org/webtools/bugzilla-$pkgver.tar.gz"

build() {
	cd "$builddir"
	perl Build.PL installdirs=vendor
	./Build
}

check() {
	cd "$builddir"
	./Build test
}

package() {
	cd "$srcdir"
	mkdir -p "$pkgdir"/usr/share/webapps
	mv bugzilla-$pkgver "$pkgdir"/usr/share/webapps/
}

sha512sums="508fdc5ab599f007f848a583907c726a876d4f3bc6d4e71d93c1efe82072f67309d229f5ba213443ad90a5f11e6e97e691fb11515ef2db71e36587e72fc849a8  bugzilla-5.0.4.tar.gz"