initial import
This commit is contained in:
32
perl-text-charwidth/PKGBUILD
Normal file
32
perl-text-charwidth/PKGBUILD
Normal file
@@ -0,0 +1,32 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=perl-text-charwidth
|
||||
pkgver=0.04
|
||||
pkgrel=2
|
||||
pkgdesc="Perl/CPAN Module Text::CharWidth"
|
||||
arch=('i686' 'x86_64')
|
||||
url="https://search.cpan.org/dist/Text-CharWidth"
|
||||
license=('GPL-1')
|
||||
options=('!emptydirs')
|
||||
depends=('perl')
|
||||
source=("https://www.cpan.org/authors/id/K/KU/KUBOTA/Text-CharWidth-${pkgver}.tar.gz"
|
||||
'COPYING.GPLv1')
|
||||
sha512sums=('8ec7898fcd4a3bb6e9e36fbd50c28e023298f830fce33dafd1445de97732b337d3a6f9a075059a56592d0f118ba83c45e61fa4fd4a6d3bfbb2cd25215a061e1c'
|
||||
'e239b539f2c46c1ae3da87c4983a0fda67dc8ae622d607b507b5c523af3bdf99e7bea8931e3a7c6007910bfe9e21a761e03e8203de95b5aceea425a97d0a84c9')
|
||||
|
||||
build() {
|
||||
cd "Text-CharWidth-${pkgver}"
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "Text-CharWidth-${pkgver}"
|
||||
make install DESTDIR="${pkgdir}"
|
||||
find "${pkgdir}" -name '.packlist' -delete
|
||||
find "${pkgdir}" -name '*.pod' -delete
|
||||
install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||
install -m644 "${srcdir}/COPYING.GPLv1" "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
||||
Reference in New Issue
Block a user