diff options
-rw-r--r-- | testing/bugzilla/APKBUILD | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/testing/bugzilla/APKBUILD b/testing/bugzilla/APKBUILD new file mode 100644 index 0000000000..4a44ee8520 --- /dev/null +++ b/testing/bugzilla/APKBUILD @@ -0,0 +1,49 @@ +# Contributor: Francesco Colista <francesco.colista@gmail.com> +# Maintainer: Francesco Colista <francesco.colista@gmail.com> +pkgname=bugzilla +pkgver=4.2.3 +pkgrel=0 +pkgdesc="bug tracker" +url="http://www.bugzilla.org" +arch="noarch" +license="GPL" +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" + install -d -m0755 "$pkgdir"/usr/share/webapps + find $pkgname-$pkgver -type d -name CVS -exec rm -rf {} \; || true + find $pkgname-$pkgver -type f -name .cvsignore -exec rm -f {} \; || true + cp -a $pkgname-$pkgver "$pkgdir"/usr/share/webapps + rm -rf $pkgdir/usr/share/webapps/$pkgname/.bzr + rm -rf $pkgdir/usr/share/webapps/$pkgname/.bzrrev + rm -rf $pkgdir/usr/share/webapps/$pkgname/.bzrignore +} + +package() { + cd "$_builddir" +} + + +md5sums="d3f9690ebd41cd084c4b6be9c7d63523 bugzilla-4.2.3.tar.gz" |