summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-font-ttf
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2019-01-28 20:18:55 (GMT)
committerBritney Fransen <brfransen@gmail.com>2019-01-28 20:18:55 (GMT)
commita1a986c90ea33e533cbf75d1af3ad909b0117bde (patch)
treeac8e4b97906d69ae9f2428b661a09d508a77da1b /abs/core/perl_modules/perl-font-ttf
parent5472eedb0b978b77670e08239e3f7eda5b8d4147 (diff)
downloadlinhes_pkgbuild-a1a986c90ea33e533cbf75d1af3ad909b0117bde.zip
linhes_pkgbuild-a1a986c90ea33e533cbf75d1af3ad909b0117bde.tar.gz
linhes_pkgbuild-a1a986c90ea33e533cbf75d1af3ad909b0117bde.tar.bz2
perl-font-ttf: initial inclusion
Diffstat (limited to 'abs/core/perl_modules/perl-font-ttf')
-rw-r--r--abs/core/perl_modules/perl-font-ttf/PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/abs/core/perl_modules/perl-font-ttf/PKGBUILD b/abs/core/perl_modules/perl-font-ttf/PKGBUILD
new file mode 100644
index 0000000..f745e1c
--- /dev/null
+++ b/abs/core/perl_modules/perl-font-ttf/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer:
+# Contributor: Chris Severance aur.severach aATt spamgourmet dott com
+# Contributor: Jason St. John <jstjohn .. purdue . edu>
+# Contributor: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
+# Contributor: Francois Charette <firmicus@gmx.net>
+
+_perlmod='Font-TTF'
+_modnamespace='Font'
+pkgname="perl-${_perlmod,,}"
+pkgver=1.06
+pkgrel=3
+pkgdesc="${_perlmod//-/::} - Perl module for TrueType font hacking"
+arch=(any)
+url="http://search.cpan.org/dist/${_perlmod}"
+license=('Artistic2.0')
+depends=(perl-io-string)
+options=(!emptydirs)
+_verwatch=("http://www.cpan.org/modules/by-module/${_modnamespace}/" "${_perlmod}-\([0-9\.]*\)\.tar\.gz" 'l')
+source=("${_verwatch[0]}${_perlmod}-${pkgver}.tar.gz")
+sha256sums=('4b697d444259759ea02d2c442c9bffe5ffe14c9214084a01f743693a944cc293')
+
+build() {
+ cd "${_perlmod}-${pkgver}"
+
+ # Install module in vendor directories.
+ PERL_MM_USE_DEFAULT=1 perl 'Makefile.PL' INSTALLDIRS='vendor'
+ make
+}
+
+check() {
+ cd "${_perlmod}-${pkgver}"
+ make test
+}
+
+package() {
+ cd "${_perlmod}-${pkgver}"
+ make install DESTDIR="${pkgdir}"
+ rm -r "$pkgdir"/usr/lib
+}
+