summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/bugzilla/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/user/bugzilla/APKBUILD b/user/bugzilla/APKBUILD
new file mode 100644
index 000000000..897142939
--- /dev/null
+++ b/user/bugzilla/APKBUILD
@@ -0,0 +1,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"