initial import
This commit is contained in:
31
perl-xml-namespacesupport/PKGBUILD
Normal file
31
perl-xml-namespacesupport/PKGBUILD
Normal file
@@ -0,0 +1,31 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=perl-xml-namespacesupport
|
||||
pkgver=1.12
|
||||
pkgrel=1
|
||||
pkgdesc='Generic namespace helpers (ported from SAX2)'
|
||||
arch=('any')
|
||||
url='https://search.cpan.org/dist/XML-NamespaceSupport'
|
||||
license=('GPL-1')
|
||||
depends=('perl')
|
||||
options=('!emptydirs')
|
||||
source=("https://www.cpan.org/authors/id/P/PE/PERIGRIN/XML-NamespaceSupport-${pkgver}.tar.gz")
|
||||
sha512sums=('8a29698acc152888b3abd53b277f89209252830cc3b57d587a5b66e5019445d7c1858a08fa548d42387c1143b726da1440e36eb0c69b0b59c3770b5f528f38b2')
|
||||
|
||||
build() {
|
||||
cd XML-NamespaceSupport-$pkgver
|
||||
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd XML-NamespaceSupport-$pkgver
|
||||
|
||||
make install DESTDIR="$pkgdir"
|
||||
|
||||
find "$pkgdir" -name '.packlist' -delete
|
||||
find "$pkgdir" -name '*.pod' -delete
|
||||
|
||||
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/$pkgname"
|
||||
}
|
||||
Reference in New Issue
Block a user