diff options
Diffstat (limited to 'community/perl-rt-extension-commandbymail/APKBUILD')
-rw-r--r-- | community/perl-rt-extension-commandbymail/APKBUILD | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/community/perl-rt-extension-commandbymail/APKBUILD b/community/perl-rt-extension-commandbymail/APKBUILD index 29eda76646..f5d63c81c0 100644 --- a/community/perl-rt-extension-commandbymail/APKBUILD +++ b/community/perl-rt-extension-commandbymail/APKBUILD @@ -4,7 +4,7 @@ # Maintainer: Timo Teräs <timo.teras@iki.fi> pkgname=perl-rt-extension-commandbymail _pkgreal=RT-Extension-CommandByMail -pkgver=0.17 +pkgver=3.00 pkgrel=0 pkgdesc="RT4 extension to change metadata of a ticket via email" url="http://search.cpan.org/dist/RT-Extension-CommandByMail/" @@ -15,30 +15,27 @@ cpanmakedepends=" " depends="$cpandepends" makedepends="rt4 perl-dev $cpanmakedepends" subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/F/FA/FALCONE/$_pkgreal-$pkgver.tar.gz" +source="http://search.cpan.org/CPAN/authors/id/B/BP/BPS/RT-Extension-CommandByMail-$pkgver.tar.gz + fix-build.patch" -_builddir="$srcdir/$_pkgreal-$pkgver" +# Running tests would require RT4 database to be available +options="!check" -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} +builddir="$srcdir/$_pkgreal-$pkgver" build() { - cd "$_builddir" + cd "$builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - # Running tests would require RT4 database to be available + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor make } package() { - cd "$_builddir" - make PERL_INSTALL_ROOT="$pkgdir" pure_install || return 1 + cd "$builddir" + make PERL_INSTALL_ROOT="$pkgdir" pure_install find "$pkgdir" \( -name perllocal.pod -o -name .packlist -o -name Test.pm \) -delete find "$pkgdir" -type d -delete 2> /dev/null } -md5sums="bcf4a81c4e3a81e6c93f72803d41f2ba RT-Extension-CommandByMail-0.17.tar.gz" -sha256sums="f1e04965e6d40e88730e2e3db3e06512a5c29a695b557140c9431ba3e6a1fa43 RT-Extension-CommandByMail-0.17.tar.gz" -sha512sums="6bc13dfd7e90a2d8163922274fdb5d6be9df01bc27c46b2c191a8e62d169a0e1a8f41a79d84aa580bc695ece345eb1686eeb85d0aea13de46cd1ed31e904b506 RT-Extension-CommandByMail-0.17.tar.gz" +sha512sums="91ea0bd9f9aa32ee09635a910c5d082032bcd94170e22854833c1aa6aacdc68d54687d32cbc92b5e298e62812d23d2fe81e30acd55d11d6d2e910e210be8930c RT-Extension-CommandByMail-3.00.tar.gz +75fd4f293da4beff01b7cc6511d040b350791e425736104cc9d382e6f172acf66cdbbbf5c02d500e70b3df773ad02af25a78a66c21c70079a7bc5ecc11e1812c fix-build.patch" |