diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-08-27 19:25:02 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-08-27 19:25:02 +0000 |
commit | d91a284530302883e3e63235b77a660171e6a745 (patch) | |
tree | 419d0f0bf70b5fab56930ba2e2968fd4615ccd42 /experimental/perl-task-freecellsolver-testing | |
parent | 717283b8c9d975cd8c7f7d9541a25f344e318047 (diff) | |
download | packages-d91a284530302883e3e63235b77a660171e6a745.tar.gz packages-d91a284530302883e3e63235b77a660171e6a745.tar.bz2 packages-d91a284530302883e3e63235b77a660171e6a745.tar.xz packages-d91a284530302883e3e63235b77a660171e6a745.zip |
experimental: bunch of crap from x86_64 builder that needs worked on
Diffstat (limited to 'experimental/perl-task-freecellsolver-testing')
-rw-r--r-- | experimental/perl-task-freecellsolver-testing/APKBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/experimental/perl-task-freecellsolver-testing/APKBUILD b/experimental/perl-task-freecellsolver-testing/APKBUILD new file mode 100644 index 000000000..5176d50b0 --- /dev/null +++ b/experimental/perl-task-freecellsolver-testing/APKBUILD @@ -0,0 +1,46 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=perl-task-freecellsolver-testing +_pkgreal=Task-FreecellSolver-Testing +pkgver=0.0.11 +pkgrel=0 +pkgdesc="Perl module for testing the Freecell Solver package" +url="http://search.cpan.org/dist/Task-FreecellSolver-Testing/" +arch="noarch" +license="MIT" +cpandepends="" +cpanmakedepends="perl-module-build" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/$_pkgreal-v$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-v$pkgver" + +prepare() { + cd "$builddir" + if [ -e Build.PL ]; then + perl Build.PL installdirs=vendor + else + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + fi +} + +build() { + cd "$builddir" + export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` + ./Build +} + +check() { + cd "$builddir" + ./Build test +} + +package() { + cd "$builddir" + ./Build install destdir="$pkgdir" + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="85c3d7e68e0fa14abac2442ec7b6e90cc4df9f6733fbd87e5a872043a03a71d8cd3a262c816d861a1c729646ff379665c1d5d6e0bc80ae476db089d9d3793b82 Task-FreecellSolver-Testing-v0.0.11.tar.gz" |