mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
28 lines
867 B
Bash
28 lines
867 B
Bash
# $Id: PKGBUILD 52127 2009-09-16 07:51:57Z francois $
|
|
# Maintainer: tobias <tobias@archlinux.org>
|
|
# Contributor: Tobias Kieslich <tobias@justdreams.de>
|
|
|
|
pkgname=perl-libintl-perl
|
|
_realname=libintl-perl
|
|
pkgver=1.20
|
|
pkgrel=1
|
|
pkgdesc="Perl Module: Localization support"
|
|
arch=('i686' 'x86_64')
|
|
license=('LGPL')
|
|
url="http://search.cpan.org/dist/${_realname}/"
|
|
depends=('gettext' 'perl>=5.10.0')
|
|
options=(!emptydirs)
|
|
source=(http://www.cpan.org/authors/id/G/GU/GUIDO/${_realname}-$pkgver.tar.gz)
|
|
md5sums=('cb36f58a7d2e15974f25b35381548b1b')
|
|
|
|
build() {
|
|
cd ${srcdir}/${_realname}-$pkgver
|
|
# install module in vendor directories.
|
|
perl Makefile.PL INSTALLDIRS=vendor || return 1
|
|
make || return 1
|
|
make install DESTDIR=${pkgdir} || return 1
|
|
|
|
# remove perllocal.pod and .packlist
|
|
find ${pkgdir} -name perllocal.pod -delete
|
|
find ${pkgdir} -name .packlist -delete
|
|
}
|