diff options
author | Michael Hanson <hansonorders@verison.net> | 2010-03-19 00:08:12 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verison.net> | 2010-03-19 00:08:12 (GMT) |
commit | 0c810798e72af9cd3cb88de1b79b2a901bad3963 (patch) | |
tree | 3f6ef2600e769c41f9da475ea357895c134cf747 /abs/extra-testing/numlockx/PKGBUILD | |
parent | 896e8723af0a99e741d6d767c13b4aa52f20820c (diff) | |
parent | 948970dc8ce2e250324747bf0499c78acfd78912 (diff) | |
download | linhes_pkgbuild-0c810798e72af9cd3cb88de1b79b2a901bad3963.zip linhes_pkgbuild-0c810798e72af9cd3cb88de1b79b2a901bad3963.tar.gz linhes_pkgbuild-0c810798e72af9cd3cb88de1b79b2a901bad3963.tar.bz2 |
Merge branch 'master' of mihanson@knoppmyth.net:LinHES-PKGBUILD
Diffstat (limited to 'abs/extra-testing/numlockx/PKGBUILD')
-rw-r--r-- | abs/extra-testing/numlockx/PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
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 <Jeepster@gmx.co.uk> +# Contributor: Travis Willard <travisw@wmpub.ca> +# Maintainer: Thayer Williams <thayer@archlinux.org> + +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 +} |