numlockx: misc tweaks.

This commit is contained in:
Juan RP 2014-04-16 08:57:04 +02:00
parent 721dd00bdc
commit fcc6877ccd

View file

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