summaryrefslogtreecommitdiff
path: root/community/mg/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/mg/PKGBUILD')
-rw-r--r--community/mg/PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/community/mg/PKGBUILD b/community/mg/PKGBUILD
index 92ba20d55..5f8fff086 100644
--- a/community/mg/PKGBUILD
+++ b/community/mg/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 39953 2011-02-18 23:29:32Z spupykin $
+# $Id: PKGBUILD 59123 2011-11-21 11:46:26Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Hannes Rist <hrist@phreeknet.org>
@@ -12,15 +12,16 @@ depends=('ncurses')
license=('custom')
options=(!libtool)
source=(http://homepage.boetes.org/software/mg/mg-$pkgver.tar.gz
- README)
+ README
+ cleanup.patch)
md5sums=('f2fa8016a491aa2a9d4c5698c593f31b'
- '8cc5195ad4fabcf7c6782764f9617748')
+ '8cc5195ad4fabcf7c6782764f9617748'
+ 'e009afe0d249593f3436b2fea110f72e')
build() {
cd $srcdir/$pkgname-$pkgver
-
- sed -i 's|KEYMAP\t\*curmap;|KEYMAP *curmap = NULL;|' extend.c
-
+ unset CFLAGS
+ patch -p1 <$srcdir/cleanup.patch
./configure
make prefix=/usr