initial import
This commit is contained in:
32
perl-encode-locale/PKGBUILD
Normal file
32
perl-encode-locale/PKGBUILD
Normal file
@@ -0,0 +1,32 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=perl-encode-locale
|
||||
pkgver=1.05
|
||||
pkgrel=2
|
||||
pkgdesc="Determine the locale encoding"
|
||||
arch=('any')
|
||||
url="https://search.cpan.org/dist/Encode-Locale"
|
||||
license=('GPL-1')
|
||||
depends=('perl')
|
||||
options=('!emptydirs')
|
||||
source=(https://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Encode-Locale-$pkgver.tar.gz
|
||||
COPYING)
|
||||
sha512sums=('68ed5732fd3645eca2ea54080067677a48f90fc5a594a1b453a322f3127e67a984d539cb5fd41ac63a03b9dab693c070b65e3c70a2a677dc61b4634f3e212d06'
|
||||
'e239b539f2c46c1ae3da87c4983a0fda67dc8ae622d607b507b5c523af3bdf99e7bea8931e3a7c6007910bfe9e21a761e03e8203de95b5aceea425a97d0a84c9')
|
||||
|
||||
build() {
|
||||
cd Encode-Locale-$pkgver
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd Encode-Locale-$pkgver
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd Encode-Locale-$pkgver
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm644 $srcdir/COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
|
||||
}
|
||||
Reference in New Issue
Block a user