summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0d767468aaaec7e6b3c7879a3c0a481dc8e1f5d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: 4leks4ndr <orthodox dot tk at gmail dot com>

_author=typiconman
_perlmod=Lingua-Cu
pkgname=perl-lingua-cu
pkgver=84bdd02
pkgrel=2
pkgdesc="Perl Module Lingua::Cu"
arch=('any')
url="https://github.com/$_author/Perl-$_perlmod"
license=('GPL' 'PerlArtistic')
makedepends=('git')
depends=('perl' 'perl-tie-ixhash')
options=(!emptydirs)
source=("git+$url.git#commit=$pkgver")
md5sums=('SKIP')

build() {
  cd $srcdir/Perl-$_perlmod
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}

package() {
  cd $srcdir/Perl-$_perlmod
  make install DESTDIR="$pkgdir/"
}