summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-18 02:44:15 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-18 02:44:15 +0000
commit6bb08d8085b2369c09938dabdc5c876f7f38129d (patch)
tree1a65e33078e43de783d4e7d5b8b934dd57cb4eca /user
parent4c80c9c57c9f7f92850e0452db69e2ccf2aebe78 (diff)
downloadpackages-6bb08d8085b2369c09938dabdc5c876f7f38129d.tar.gz
packages-6bb08d8085b2369c09938dabdc5c876f7f38129d.tar.bz2
packages-6bb08d8085b2369c09938dabdc5c876f7f38129d.tar.xz
packages-6bb08d8085b2369c09938dabdc5c876f7f38129d.zip
user/perl-font-afm: new package
Diffstat (limited to 'user')
-rw-r--r--user/perl-font-afm/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-font-afm/APKBUILD b/user/perl-font-afm/APKBUILD
new file mode 100644
index 000000000..bfc94a47d
--- /dev/null
+++ b/user/perl-font-afm/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-font-afm
+_pkgname=Font-AFM
+pkgver=1.20
+pkgrel=0
+pkgdesc="Adobe Font Metrics interface for Perl"
+url="https://metacpan.org/release/Font-AFM"
+arch="noarch"
+license="Artistic-1.0-Perl OR GPL-2.0-only"
+depends=""
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/G/GA/GAAS/Font-AFM-$pkgver.tar.gz"
+builddir="$srcdir/Font-AFM-$pkgver"
+
+build() {
+ cd "$builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "$builddir"
+ make test
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="1fc74f0dbbed52937d512465a021148e93b2e0698189a6fc17eb1aa8951c934b0060a0256883118dc2a3a9086025468e0a851706306876568466bf4638fdb618 Font-AFM-1.20.tar.gz"