summaryrefslogtreecommitdiff
path: root/community/xkbsel
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
commit65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch)
treefbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /community/xkbsel
parentd53c44f055929b18d7d1b25f8367ee5836c435fc (diff)
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'community/xkbsel')
-rw-r--r--community/xkbsel/PKGBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/community/xkbsel/PKGBUILD b/community/xkbsel/PKGBUILD
index cdbf53f43..0fcdd1956 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')
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"