# Contributor: Francesco Colista # Maintainer: Francesco Colista 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 } a md5sums="88fc3e1ec2ed37973dd134032168a0e7 bugzilla-4.4.tar.gz" sha256sums="709e1b07ca23a91fbf5fb3d34645a8b574af39034b216daa1811effd02ebd72e bugzilla-4.4.tar.gz" sha512sums="3ae45ebca5b3faf0d416d26b5f0e759067837e09c38f137aeea49d1ebfe8e9277a7d5337b13f54484c959ad86cd36e05c2f592c6d759dc302a92cd2993b1622f bugzilla-4.4.tar.gz"