summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: db70846a5caf5b8873f208ab2be6f04dad9d3801 (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
29
30
31
32
# CPAN Name  : SQL::ReservedWords
# Contributor: Anton Leontiev <scileont /at/ gmail.com>
# Generator  : CPANPLUS::Dist::Arch 1.32

pkgname=perl-sql-reservedwords
pkgver=0.8
pkgrel=2
pkgdesc="Perl module that prodives list of SQL reserved words"
arch=("any")
url="https://metacpan.org/release/SQL-ReservedWords"
license=("PerlArtistic" "GPL")
depends=("perl" "perl-sub-exporter")
source=(http://search.cpan.org/CPAN/authors/id/C/CH/CHANSEN/SQL-ReservedWords-0.8.tar.gz)
options=(!emptydirs)
md5sums=("7de3ba15d2455b20cbaf692f28e5b633")

build() {
  cd "$srcdir/SQL-ReservedWords-0.8"
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}

check() {
  cd "$srcdir/SQL-ReservedWords-0.8"
  make test
}

package() {
  cd "$srcdir/SQL-ReservedWords-0.8"
  make install DESTDIR="$pkgdir"
  find "$pkgdir" \( -name .packlist -o -name perllocal.pod \) -delete
}