blob: 31dbbb4302223e625c1834d266e2b8056dd1ed7f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $Id: PKGBUILD 75639 2010-04-02 01:32:53Z dgriffiths $
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Contributor: Travis Willard <travisw@wmpub.ca>
# Contributor: Thayer Williams <thayer@archlinux.org>
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=numlockx
pkgver=1.2
pkgrel=1
pkgdesc="Turns on the numlock key in X11"
arch=('i686' 'x86_64' 'mips64el')
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
}
|