From 65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Fri, 27 Dec 2013 23:55:53 +0000 Subject: Fri Dec 27 23:54:04 UTC 2013 --- community/xkbsel/PKGBUILD | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'community/xkbsel') 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 # Contributor: Sergej Pupykin 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" -- cgit v1.2.3-54-g00ecf