initial import
This commit is contained in:
32
perl-io-html/PKGBUILD
Normal file
32
perl-io-html/PKGBUILD
Normal file
@@ -0,0 +1,32 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=perl-io-html
|
||||
pkgver=1.001
|
||||
pkgrel=2
|
||||
pkgdesc="Open an HTML file with automatic charset detection"
|
||||
arch=('any')
|
||||
url='https://search.cpan.org/dist/IO-HTML'
|
||||
depends=('perl')
|
||||
license=('GPL-1')
|
||||
options=('!emptydirs')
|
||||
source=(https://search.cpan.org/CPAN/authors/id/C/CJ/CJM/IO-HTML-$pkgver.tar.gz)
|
||||
sha512sums=('fd3780c854e2e4003c80d2399987bbde2ebcc8f110915a74326660036d0860f79123f924c3200bcfa163363d74f53ca742bde973549e5a554e63648ed55dac52')
|
||||
|
||||
build() {
|
||||
export PERL_MM_USE_DEFAULT=1 PERL_MM_OPT="INSTALLDIRS=vendor" \
|
||||
PERL_MB_OPT="--installdirs vendor"
|
||||
cd IO-HTML-$pkgver
|
||||
perl Makefile.PL
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd IO-HTML-$pkgver
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd IO-HTML-$pkgver
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm644 LICENSE $pkgdir/usr/share/$pkgname/LICENSE
|
||||
}
|
||||
Reference in New Issue
Block a user