New Package: perl-IO-String

This commit is contained in:
atom.long 2017-05-31 00:57:45 +08:00
parent 01c2aa82a6
commit b1efdda420

28
perl-IO-String/PKGBUILD Normal file
View File

@ -0,0 +1,28 @@
# Maintainer: atom2013 <atom.long@hotmail.com>
_perlmod='IO-String'
pkgname="perl-${_perlmod}"
pkgver=1.08
pkgrel=9
pkgdesc="${_perlmod//-/::} - interface for in-core strings"
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/IO-String"
license=('GPL' 'PerlArtistic')
groups=('perl-modules')
depends=('perl>=5.10.0')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/G/GA/GAAS/${_perlmod}-$pkgver.tar.gz)
md5sums=('250e5424f290299fc3d6b5d1e9da3835')
build() {
cd "$srcdir"/IO-String-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd "$srcdir"/IO-String-$pkgver
make install DESTDIR="$pkgdir"
find "$pkgdir" -name '.packlist' -delete
find "$pkgdir" -name '*.pod' -delete
}