Date: Sunday, February 5, 2012 @ 11:08:46 Author: bisson Revision: 149064
signed rebuild for free Modified: xorg-setxkbmap/trunk/PKGBUILD ----------+ PKGBUILD | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2012-02-05 16:06:39 UTC (rev 149063) +++ PKGBUILD 2012-02-05 16:08:46 UTC (rev 149064) @@ -1,24 +1,29 @@ # $Id$ -# Maintainer: Jan de Groot <j...@archlinux.org> +# Contributor: Jan de Groot <j...@archlinux.org> +# Maintainer: Gaetan Bisson <bis...@archlinux.org> pkgname=xorg-setxkbmap pkgver=1.2.0 -pkgrel=2 -pkgdesc="Set the keyboard using the X Keyboard Extension" -arch=(i686 x86_64) -url="http://xorg.freedesktop.org/" +pkgrel=3 +pkgdesc='Set the keyboard using the X Keyboard Extension' +url='http://xorg.freedesktop.org/' license=('custom') +arch=('i686' 'x86_64') depends=('libxkbfile') makedepends=('xorg-util-macros') -groups=('xorg-apps' 'xorg') -source=(${url}/releases/individual/app/setxkbmap-${pkgver}.tar.bz2) +source=("${url}/releases/individual/app/setxkbmap-${pkgver}.tar.bz2") sha1sums=('860785e16313d30792fe62604f65d84281812322') +groups=('xorg-apps' 'xorg') + build() { - cd "${srcdir}/setxkbmap-${pkgver}" - ./configure --prefix=/usr - make - make DESTDIR="${pkgdir}" install - install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" - install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" + cd "${srcdir}/setxkbmap-${pkgver}" + ./configure --prefix=/usr + make } + +package() { + cd "${srcdir}/setxkbmap-${pkgver}" + make DESTDIR="${pkgdir}" install + install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" +}