updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / lk4b / PKGBUILD
blob2b77748feea84b113947a2eb21e1d1351a5b2f40
1 # Contributor: Jaroslav Lichtblau <tu@dragonlord.cz>
3 pkgname=lk4b
4 pkgver=20080706
5 pkgrel=1
6 pkgdesc="A small program which locks your keyboard but leaves your mouse free."
7 arch=('i686' 'x86_64')
8 url="http://csincock.customer.netspace.net.au/lock-keyboard-for-baby.htm"
9 license=('GPL')
10 depends=('gtk2-perl')
11 source=(http://downloads.sourceforge.net/sourceforge/$pkgname/lock-keyboard-for-baby-$pkgver.pl)
12 noextract=(lock-keyboard-for-baby-$pkgver.pl)
14 md5sums=('0498aaf7cd4adc34f6d7593b96282d85')
16 build() {
17   cd "${srcdir}"
19   sed -i 's|#!/bin/env perl|#!/usr/bin/env perl|g' lock-keyboard-for-baby-$pkgver.pl || return 1
20   install -D -m755 "${srcdir}/lock-keyboard-for-baby-$pkgver.pl" "${pkgdir}/usr/bin/$pkgname" || return 1