diff options
author | Laurent Bercot <ska-adelie@skarnet.org> | 2018-08-27 21:40:30 +0000 |
---|---|---|
committer | Laurent Bercot <ska-adelie@skarnet.org> | 2018-08-27 21:40:30 +0000 |
commit | 3f2f1bfb288e936b66a25b31319690fb479fa10c (patch) | |
tree | d500803d540a15aea979219c45321142a6aadfbe /experimental/perl-task-freecellsolver-testing | |
parent | 25e6ab98c256262b16aec795447b3dca082ecb13 (diff) | |
parent | d91a284530302883e3e63235b77a660171e6a745 (diff) | |
download | packages-3f2f1bfb288e936b66a25b31319690fb479fa10c.tar.gz packages-3f2f1bfb288e936b66a25b31319690fb479fa10c.tar.bz2 packages-3f2f1bfb288e936b66a25b31319690fb479fa10c.tar.xz packages-3f2f1bfb288e936b66a25b31319690fb479fa10c.zip |
Merge branch 'master' of code.foxkit.us:adelie/packages
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" |