summaryrefslogtreecommitdiff
path: root/community/numlockx/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-22 11:48:08 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-22 11:48:08 -0300
commitdfccf2688839095bf2917186529e15f438a86a27 (patch)
tree79e7fcbe95952d0361e4d69590ce1dc6fde15468 /community/numlockx/PKGBUILD
parentddb6519616b89709bff2278f935b735e67426504 (diff)
parent859f538490d5f7a35356c8813cf5757b175eea98 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/mingw32-binutils/PKGBUILD community/numlockx/PKGBUILD community/slock/PKGBUILD extra/graphviz/PKGBUILD
Diffstat (limited to 'community/numlockx/PKGBUILD')
-rw-r--r--community/numlockx/PKGBUILD34
1 files changed, 17 insertions, 17 deletions
diff --git a/community/numlockx/PKGBUILD b/community/numlockx/PKGBUILD
index d678d4053..dac173233 100644
--- a/community/numlockx/PKGBUILD
+++ b/community/numlockx/PKGBUILD
@@ -1,33 +1,33 @@
-# $Id: PKGBUILD 46958 2011-05-13 20:41:25Z andrea $
+# $Id: PKGBUILD 59007 2011-11-20 19:54:44Z lfleischer $
+# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# 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>
+# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=numlockx
pkgver=1.2
-pkgrel=1
-pkgdesc="Turns on the numlock key in X11"
+pkgrel=2
+pkgdesc='Turns on the numlock key in X11.'
arch=('i686' 'x86_64' 'mips64el')
license=('MIT')
-url="http://ktown.kde.org/~seli/numlockx/"
+url='http://home.kde.org/~seli/numlockx/'
depends=('libxtst')
-source=(http://ktown.kde.org/~seli/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+source=("http://home.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
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr x_includes=/usr/include/X11 x_libraries=/usr/lib
+ make
}
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
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make prefix="${pkgdir}/usr" install
+
+ # Install the custom MIT license
+ install -Dm0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}