From 54ccbebebc92d0f6035c3eaa8e39f81f69fe149b Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Thu, 25 Dec 2014 13:10:01 +0000 Subject: testing/perl-rt-extension-commandbymail: move to main --- testing/main/APKBUILD | 44 ++++++++++++++++++++++++ testing/perl-rt-extension-commandbymail/APKBUILD | 44 ------------------------ 2 files changed, 44 insertions(+), 44 deletions(-) create mode 100644 testing/main/APKBUILD delete mode 100644 testing/perl-rt-extension-commandbymail/APKBUILD (limited to 'testing') diff --git a/testing/main/APKBUILD b/testing/main/APKBUILD new file mode 100644 index 0000000000..29eda76646 --- /dev/null +++ b/testing/main/APKBUILD @@ -0,0 +1,44 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Extensively modified from template to work with this perl module +# Contributor: Timo Teräs +# Maintainer: Timo Teräs +pkgname=perl-rt-extension-commandbymail +_pkgreal=RT-Extension-CommandByMail +pkgver=0.17 +pkgrel=0 +pkgdesc="RT4 extension to change metadata of a ticket via email" +url="http://search.cpan.org/dist/RT-Extension-CommandByMail/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="perl-mime-tools perl-universal-require" +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" + +_builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor +} + +build() { + cd "$_builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + # Running tests would require RT4 database to be available + make +} + +package() { + cd "$_builddir" + make PERL_INSTALL_ROOT="$pkgdir" pure_install || return 1 + 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" diff --git a/testing/perl-rt-extension-commandbymail/APKBUILD b/testing/perl-rt-extension-commandbymail/APKBUILD deleted file mode 100644 index 29eda76646..0000000000 --- a/testing/perl-rt-extension-commandbymail/APKBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Extensively modified from template to work with this perl module -# Contributor: Timo Teräs -# Maintainer: Timo Teräs -pkgname=perl-rt-extension-commandbymail -_pkgreal=RT-Extension-CommandByMail -pkgver=0.17 -pkgrel=0 -pkgdesc="RT4 extension to change metadata of a ticket via email" -url="http://search.cpan.org/dist/RT-Extension-CommandByMail/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-mime-tools perl-universal-require" -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" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - # Running tests would require RT4 database to be available - make -} - -package() { - cd "$_builddir" - make PERL_INSTALL_ROOT="$pkgdir" pure_install || return 1 - 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" -- cgit v1.2.3