mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 02:22:15 +08:00
33 lines
713 B
Bash
33 lines
713 B
Bash
# Core packages for Chakra
|
|
|
|
pkgname=perl-xml-sax-base
|
|
pkgver=1.08
|
|
pkgrel=1
|
|
pkgdesc="Base class SAX Drivers and Filters"
|
|
arch=('any')
|
|
url="http://search.cpan.org/dist/XML-SAX-Base"
|
|
license=('GPL' 'PerlArtistic')
|
|
depends=('perl')
|
|
options=('!emptydirs')
|
|
source=("http://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-Base-$pkgver.tar.gz")
|
|
md5sums=('38c8c3247dfd080712596118d70dbe32')
|
|
|
|
build() {
|
|
cd $srcdir/XML-SAX-Base-$pkgver
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd $srcdir/XML-SAX-Base-$pkgver
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/XML-SAX-Base-$pkgver
|
|
make install DESTDIR=$pkgdir
|
|
|
|
find $pkgdir -name '.packlist' -delete
|
|
find $pkgdir -name '*.pod' -delete
|
|
}
|