From a0fec6df1576432d91163c6a8e13c9ee251ddbf0 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Thu, 18 Mar 2010 16:25:50 -0500 Subject: numlockx: initial import refs 567 --- abs/extra-testing/numlockx/PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 abs/extra-testing/numlockx/PKGBUILD diff --git a/abs/extra-testing/numlockx/PKGBUILD b/abs/extra-testing/numlockx/PKGBUILD new file mode 100644 index 0000000..172cceb --- /dev/null +++ b/abs/extra-testing/numlockx/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 19225 2008-11-17 22:12:15Z thayer $ +# Contributor: Tom Newsom +# Contributor: Travis Willard +# Maintainer: Thayer Williams + +pkgname=numlockx +pkgver=1.1 +pkgrel=4 +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=('127d9dfbbbe6dbec62cc78db340f913c') + +build() { + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr x_includes=/usr/include/X11 \ + x_libraries=/usr/lib || return 1 + make || return 1 + make prefix=$pkgdir/usr install || return 1 + + # Install the custom MIT license + install -D LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE || return 1 +} -- cgit v0.12