summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2f328b9f18e92cb3c21cefdf0800a7318cf5f1da (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
# Maintainer: Brian Bidulock <bidulock at openss7 dot org>

pkgname=perl-tk-tframe
pkgver=2.08
pkgrel=4
pkgdesc='Perl/CPAN Module Tk::TFrame'
arch=('any')
url='http://search.cpan.org/dist/Tk-TFrame'
license=('GPL' 'PerlArtistic')
options=('!emptydirs')
source=("http://search.cpan.org/CPAN/authors/id/S/SR/SREZIC/Tk-GBARR-$pkgver.tar.gz")
depends=()
md5sums=('8791dc6ddba154ccb9b6a54e8ad11351')

build() {
	cd "$srcdir/Tk-GBARR-$pkgver"

	# install module in vendor directories
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}
package() {
	cd "$srcdir/Tk-GBARR-$pkgver"
	make install DESTDIR="$pkgdir/"

	#remove perllocal.pod and .packlist
	find "$pkgdir" -name perllocal.pod -delete
	find "$pkgdir" -name .packlist -delete
}