numlockx: New package

This commit is contained in:
onekk 2014-04-16 00:06:46 +02:00
parent 04f1045b50
commit e0ac798a5b

23
srcpkgs/numlockx/template Normal file
View file

@ -0,0 +1,23 @@
# Template file for 'numlockx'
pkgname="numlockx"
version=1.2
revision=1
build_style=gnu-configure
short_desc="Activate BlocNum at startup"
maintainer="Carlo Dormeletti <carlo.dormeletti@email.it>"
license="numlockx"
hostmakedepends="perl autoconf m4"
makedepends="libX11-devel libXext-devel libXtst-devel"
homepage="http://www.mike-devlin.com/linux/README-numlockx.htm"
distfiles="http://ftp.de.debian.org/debian/pool/main/n/${pkgname}/${pkgname}_${version}.orig.tar.gz"
checksum="e468eb9121c94c9089dc6a287eeb347e900ce04a14be37da29d7696cbce772e4"
do_install() {
make DESTDIR=${DESTDIR} install
vinstall LICENSE 644 usr/share/licenses/${pkgname}
vinstall LICENSE 644 usr/share/doc/${pkgname}
vinstall README 644 usr/share/doc/${pkgname}
vinstall AUTHORS 644 usr/share/doc/${pkgname}
}