summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-dbi-shell/PKGBUILD
blob: c14695af852582755bbf0375dbceeff4a473f931 (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
# $Id$
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-dbi-shell
pkgver=11.95
pkgrel=6
pkgdesc="Perl/CPAN Module DBI::Shell"
arch=("any")
url="http://search.cpan.org/dist/DBI-Shell"
license=("GPL" "PerlArtistic")
makedepends=("perl-text-reform" "perl-io-tee")
depends=("perl-text-reform" "perl-io-tee")
source=("https://www.cpan.org/authors/id/T/TL/TLOWERY/DBI-Shell-$pkgver.tar.gz")
sha256sums=('44aa76c90a425d4aff9e2580a6baf334a5102fb794fbdb26e301294c190cbed9')

build() {
  cd "$srcdir"/DBI-Shell-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}

package() {
  cd "$srcdir"/DBI-Shell-$pkgver
  make install DESTDIR="$pkgdir"
  find "$pkgdir" -name '.packlist' -delete
  find "$pkgdir" -name '*.pod' -delete
}