blob: d7751e429cf322093a7d9a4a5ae8e2709666b3de (
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 125357 2011-05-26 06:26:28Z angvp $
# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
# Contributor: Caleb Cushing <xenoterracide@gmail.com>
pkgname=perl-text-patch
_realname=Text-Patch
pkgver=1.8
pkgrel=1
pkgdesc="Patches text with given patch"
arch=(any)
license=(PerlArtistic GPL)
depends=(perl)
url='http://search.cpan.org/dist/$_realname'
options=('!emptydirs')
source=("http://search.cpan.org/CPAN/authors/id/C/CA/CADE/$_realname-$pkgver.tar.gz")
md5sums=('ad5e453d5ba3b48afd8163114d0fee1c')
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
}
|