From e69c538fc7af5a9861c7688dd15913082d978180 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 14 May 2011 22:37:30 +0000 Subject: Sat May 14 22:37:30 UTC 2011 --- community/numlockx/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 community/numlockx/PKGBUILD (limited to 'community/numlockx') diff --git a/community/numlockx/PKGBUILD b/community/numlockx/PKGBUILD new file mode 100644 index 000000000..a5d59e003 --- /dev/null +++ b/community/numlockx/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 46958 2011-05-13 20:41:25Z andrea $ +# Contributor: Tom Newsom +# Contributor: Travis Willard +# Contributor: Thayer Williams +# Maintainer: Daniel J Griffiths + +pkgname=numlockx +pkgver=1.2 +pkgrel=1 +pkgdesc="Turns on the numlock key in X11" +arch=('i686' 'x86_64') +license=('MIT') +url="http://ktown.kde.org/~seli/numlockx/" +depends=('libxtst') +source=(http://ktown.kde.org/~seli/${pkgname}/${pkgname}-${pkgver}.tar.gz) +md5sums=('be9109370447eae23f6f3f8527bb1a67') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + ./configure --prefix=/usr x_includes=/usr/include/X11 \ + x_libraries=/usr/lib || return 1 + make || return 1 +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + + make prefix=${pkgdir}/usr install || return 1 + + # Install the custom MIT license + install -D LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1 +} -- cgit v1.2.3-54-g00ecf