# Contributor: A. Wilcox <awilfox@adelielinux.org> # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=bugzilla pkgver=5.0.6 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="8ca47ea1be2b433a6ce68e1a595d72f3d0f0fede44d1194dc6bc9a116dbde3ab7285212c71995e200d31544876e4c3c57b63da1f877a0cb22747ab87a5d598de bugzilla-5.0.6.tar.gz"