db-move: moved webkit2gtk from [staging] to [testing] (x86_64)
[arch-packages.git] / perl-lingua-translit / trunk / PKGBUILD
blob284387d3359fab3ead1b9dc5009c7793f5ee77b1
1 # $ID$
2 # Maintainer: Rémy Oudompheng <remy@archlinux.org>
4 pkgname=perl-lingua-translit
5 _dist=Lingua-Translit
6 pkgver=0.28
7 pkgrel=7
8 pkgdesc="Transliteration of text between writing systems"
9 arch=('any')
10 url="https://metacpan.org/release/${_dist}"
11 license=('PerlArtistic' 'GPL')
12 depends=('perl')
13 options=('!emptydirs')
14 source=(https://search.cpan.org/CPAN/authors/id/A/AL/ALINKE/${_dist}-${pkgver}.tar.gz)
15 md5sums=('090cecd52ff9c1f9d4b370ba653b9da1')
16 sha256sums=('113f91d8fc2c630437153a49fb7a52b023af8f6278ed96c070b1f60824b8eae1')
18 build() {
19     cd "${srcdir}/${_dist}-${pkgver}"
20     unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
21     export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
22     perl Makefile.PL
23     make
26 check() {
27     cd "${srcdir}/${_dist}-${pkgver}"
28     unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
29     export PERL_MM_USE_DEFAULT=1
30     make test
33 package() {
34     cd "${srcdir}/${_dist}-${pkgver}"
35     unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
36     make install INSTALLDIRS=vendor DESTDIR="$pkgdir"