updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / perl-x11-keyboard / PKGBUILD
blob8ec6bf76b1b9f05d60373b2b70232d89c4c1fc83
1 # Maintainer: TDY <tdy@gmx.com>
3 pkgname=perl-x11-keyboard
4 pkgver=1.4
5 pkgrel=1
6 pkgdesc="Perl keyboard support functions for X11"
7 arch=('i686' 'x86_64')
8 url="http://search.cpan.org/dist/X11-Keyboard/"
9 license=('MIT')
10 depends=('perl-x11-protocol')
11 options=('!emptydirs')
12 source=(http://search.cpan.org/CPAN/authors/id/E/EC/ECALDER/X11-Keyboard-$pkgver.tar.gz
13         LICENSE)
14 md5sums=('6e41bc24bac68acf200667343f916248'
15          '42a48808c1b33b5f44ce74e3baed856c')
17 build() {
18   cd "$srcdir/X11-Keyboard-$pkgver"
19   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
20   make || return 1
23 package() {
24   cd "$srcdir/X11-Keyboard-$pkgver"
25   make DESTDIR="$pkgdir" install
26   install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"