🔒 Repository is read-only – file editing is disabled.

recipes/utils/perl-xml-sax-base/PAGBUILD.yaml main

24 linii Raw ← Powrót
123456789101112131415161718192021222324
pkgname: perl-xml-sax-base
pkgver: '1.09'
pkgrel: '5'
pkgdesc: Base class SAX Drivers and Filters
url: 'https://metacpan.org/pod/XML::SAX::Base'
arch: x86_64
depends:
- perl
makedepends: []
source:
- 'https://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-Base-${pkgver}.tar.gz'
sha256sums:
- 66cb355ba4ef47c10ca738bd35999723644386ac853abbeb5132841f5e8a2ad0
build: |
  cd XML-SAX-Base-${pkgver}
  perl Makefile.PL
  make OPTIMIZE="$CFLAGS" || exit 1
  make test || true
  make install INSTALLDIRS=vendor DESTDIR=${PKGDIR} || exit 1

  # Remove .packlist if present in the package
  find ${PKGDIR} -name .packlist -delete
package: |
  true