archrelease: copy trunk to extra-x86_64
[arch-packages.git] / perl-libintl-perl / repos / extra-x86_64 / PKGBUILD
blobec684401dfb0192c73822aecbd60f1c53078e1ee
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: kevin <kevin@archlinux.org>
3 # Contributor: Tobias Kieslich <tobias@justdreams.de>
5 pkgname=perl-libintl-perl
6 pkgver=1.33
7 pkgrel=1
8 pkgdesc="Perl Module: Localization support"
9 arch=('x86_64')
10 license=('LGPL')
11 url="https://search.cpan.org/dist/libintl-perl"
12 depends=('coreutils' 'gettext' 'perl')
13 options=('!emptydirs')
14 source=("https://www.cpan.org/authors/id/G/GU/GUIDO/libintl-perl-$pkgver.tar.gz")
15 sha512sums=('494486d2e2f07fa8ee4c4b9d7b2576973772330aab7736488a692c54a6b250b0b7c06892d8cffc164346b9ebd3549141378fc84da339eaa4b34dc16c4f1a59b6')
17 build() {
18   cd libintl-perl-$pkgver
19   perl Makefile.PL INSTALLDIRS=vendor
20   make
23 check() {
24   cd libintl-perl-$pkgver
25   make test
28 package() {
29   cd libintl-perl-$pkgver
30   PERL_USE_UNSAFE_INC=1 \
31   make install DESTDIR="$pkgdir"