initial import

This commit is contained in:
2025-06-22 20:39:04 -05:00
commit f8a70886f0
3428 changed files with 302546 additions and 0 deletions

31
perl-json/PKGBUILD Normal file
View File

@@ -0,0 +1,31 @@
# Maintainer: Jesus E. <heckyel@riseup.net>
pkgname=perl-json
pkgver=4.03
pkgrel=1
pkgdesc="JSON (JavaScript Object Notation) encoder/decoder"
arch=('any')
url="https://metacpan.org/pod/JSON"
license=('GPL-1')
depends=('perl')
options=('!emptydirs')
source=("https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/JSON-${pkgver}.tar.gz"
'COPYING')
sha512sums=('5910818d3a866a50ea655da7d9ae617f21d3bc7e8511d35cff96ec4ea04fe553638c7843422cf2d00c37835a6d9f931b1defd224f57c40a3e52d7cef4684ef8c'
'e239b539f2c46c1ae3da87c4983a0fda67dc8ae622d607b507b5c523af3bdf99e7bea8931e3a7c6007910bfe9e21a761e03e8203de95b5aceea425a97d0a84c9')
build() {
cd "${srcdir}/JSON-$pkgver"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
package() {
cd "${srcdir}/JSON-$pkgver"
make install DESTDIR="${pkgdir}"
find "${pkgdir}" -name '.packlist' -delete
find "${pkgdir}" -name '*.pod' -delete
install -D -m644 "${srcdir}/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
# vim:set ts=2 sw=2 et: