1 # Maintainer: TDY <tdy@gmx.com>
3 pkgname=perl-x11-keyboard
6 pkgdesc="Perl keyboard support functions for X11"
8 url="http://search.cpan.org/dist/X11-Keyboard/"
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
14 md5sums=('6e41bc24bac68acf200667343f916248'
15 '42a48808c1b33b5f44ce74e3baed856c')
18 cd "$srcdir/X11-Keyboard-$pkgver"
19 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
24 cd "$srcdir/X11-Keyboard-$pkgver"
25 make DESTDIR="$pkgdir" install
26 install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"