summaryrefslogtreecommitdiff
path: root/community/xkbsel/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/xkbsel/PKGBUILD')
-rw-r--r--community/xkbsel/PKGBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/community/xkbsel/PKGBUILD b/community/xkbsel/PKGBUILD
index 897db49a8..2c6a7e6eb 100644
--- a/community/xkbsel/PKGBUILD
+++ b/community/xkbsel/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 100458 2013-11-04 12:14:04Z spupykin $
+# $Id: PKGBUILD 101044 2013-11-15 12:43:34Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=xkbsel
pkgver=0.13
-pkgrel=6
+pkgrel=7
pkgdesc="framework for defining, selecting and indicating XKB keyboard mappings"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.meduna.org/sw_xkbsel_en.html"
@@ -16,10 +16,15 @@ source=(http://www.meduna.org/code/$pkgname-$pkgver.tar.gz
md5sums=('c82196344ef920a072f413df85b9dc00'
'dee0f7de8618d9eff073942f0e08f030')
+prepare() {
+ cd $srcdir/$pkgname-$pkgver
+ sed -i 's|\${CC-cc}|${CC-cc} -O2 |g' ./configure
+}
+
build() {
cd $srcdir/$pkgname-$pkgver
- autoreconf
+# autoreconf
patch -Np1 <../build-fix.patch
export CFLAGS="$CFLAGS -I/usr/include/gdbm -DHAVE_NDBM_H"