summaryrefslogtreecommitdiff
path: root/user/perl-games-solitaire-verify/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-01 04:36:44 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-01 04:36:44 +0000
commit6f9c40b019aaa898a23495de6365d020801b1a92 (patch)
tree3fa949c1705b0d5afaced4796ffe4d41194dda4b /user/perl-games-solitaire-verify/APKBUILD
parentcb78e0bd073b025fdea239d0d649a80fb42f06bf (diff)
downloadpackages-6f9c40b019aaa898a23495de6365d020801b1a92.tar.gz
packages-6f9c40b019aaa898a23495de6365d020801b1a92.tar.bz2
packages-6f9c40b019aaa898a23495de6365d020801b1a92.tar.xz
packages-6f9c40b019aaa898a23495de6365d020801b1a92.zip
user/perl-games-solitaire-verify: new package
Diffstat (limited to 'user/perl-games-solitaire-verify/APKBUILD')
-rw-r--r--user/perl-games-solitaire-verify/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-games-solitaire-verify/APKBUILD b/user/perl-games-solitaire-verify/APKBUILD
new file mode 100644
index 000000000..bcf5b7a45
--- /dev/null
+++ b/user/perl-games-solitaire-verify/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=perl-games-solitaire-verify
+pkgver=0.1900
+pkgrel=0
+pkgdesc="Verify solutions to solitaire games"
+url="https://metacpan.org/release/Games-Solitaire-Verify"
+arch="noarch"
+license="MIT"
+depends="perl-class-xsaccessor perl-exception-class perl-list-moreutils"
+makedepends="perl-dev perl-module-build"
+checkdepends="perl-test-differences"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Games-Solitaire-Verify-$pkgver.tar.gz"
+builddir="$srcdir/Games-Solitaire-Verify-$pkgver"
+
+build() {
+ cd "$builddir"
+ perl Build.PL installdirs=vendor
+ 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="d161bc395f85f2aa404fe7aac893c840b302c7659e529b62bda9ad6c274508c4294c03c9037b9ab6a667e8a90292ef83445c88be26e42dde89625224f85027f0 Games-Solitaire-Verify-0.1900.tar.gz"