summaryrefslogtreecommitdiffstats
path: root/abs/core/perl_modules/perl-tie-simple/PKGBUILD
blob: 14324bec0b1d93d51a4da1939f80506ced783340 (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
# $Id: PKGBUILD 149417 2012-02-07 16:25:32Z heftig $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>

pkgname=perl-tie-simple
_realname=Tie-Simple
pkgver=1.03
pkgrel=2
pkgdesc="Variable ties made easier: much, much, much easier..."
arch=(any)
license=(PerlArtistic GPL)
depends=(perl)
url="http://search.cpan.org/dist/Tie-Simple"
options=('!emptydirs')
source=("http://search.cpan.org/CPAN/authors/id/H/HA/HANENKAMP/$_realname-$pkgver.tar.gz")
md5sums=('198f7ec68c9b954251c4ed163ee112c7')

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

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