summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5ea7935150d1c5cdce3c8724a712c6e72b0a87da (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
# Maintainer: Jose Riha <jose1711 gmail com>
# Contributor: Archie <xMickael@ifrance.com>

pkgname=tk-matchentry
pkgver=0.5
pkgrel=1
pkgdesc="Entry widget with advanced auto-completion capability"
depends=('tk' 'perl-tk')
arch=('any')
license=('GPL')
source=(https://cpan.metacpan.org/authors/id/A/AS/ASB/Tk-MatchEntry-${pkgver}.tar.gz)
url="https://metacpan.org/pod/Tk::MatchEntry"
md5sums=('51261a69f23067ac18d29a53d366f5d2')

build() {
	cd $srcdir/Tk-MatchEntry-$pkgver
	perl Makefile.PL
	make
}

package() {
	cd $srcdir/Tk-MatchEntry-$pkgver
	make DESTDIR=$pkgdir install
	# remove perllocal.pod and .packlist
	find $pkgdir -name perllocal.pod -delete
	find $pkgdir -name .packlist -delete
	}