diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/xkbsel/PKGBUILD | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/xkbsel/PKGBUILD')
-rw-r--r-- | community/xkbsel/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/community/xkbsel/PKGBUILD b/community/xkbsel/PKGBUILD new file mode 100644 index 000000000..e6114985f --- /dev/null +++ b/community/xkbsel/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 59722 2011-11-29 13:35:50Z stephane $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> + +pkgname=xkbsel +pkgver=0.13 +pkgrel=5 +pkgdesc="framework for defining, selecting and indicating XKB keyboard mappings" +arch=('i686' 'x86_64') +url="http://www.meduna.org/sw_xkbsel_en.html" +license=('GPL') +depends=('gdbm' 'libxaw') +makedepends=('patch' 'xkeyboard-config') +source=(http://www.meduna.org/code/$pkgname-$pkgver.tar.gz + build-fix.patch) +md5sums=('c82196344ef920a072f413df85b9dc00' + 'dee0f7de8618d9eff073942f0e08f030') + +build() { + cd $srcdir/$pkgname-$pkgver + + patch -Np1 <../build-fix.patch + export CFLAGS="$CFLAGS -I/usr/include/gdbm -DHAVE_NDBM_H" + export LDFLAGS="-lgdbm -lgdbm_compat" + + ./configure --prefix=/usr --localstatedir=/var/lib --sysconfdir=/etc/xkbsel \ + --build=`uname -m` --host=`uname -m` --target=`uname -m` \ + --mandir=/usr/share/man + make + make DESTDIR=$pkgdir install +} |