community/gnubg to 1.05.002-1

This commit is contained in:
Kevin Mihelich 2016-06-08 12:18:57 +00:00
parent e150710d7a
commit 3fdd97650f
2 changed files with 3 additions and 28 deletions

View file

@ -6,32 +6,23 @@
# - --enable-simd=no
pkgname=gnubg
pkgver=1.05.000
pkgrel=2
pkgver=1.05.002
pkgrel=1
pkgdesc="World class backgammon application"
arch=('i686' 'x86_64')
url="http://www.gnubg.org"
license=('GPL3')
depends=('python2' 'gtkglext' 'curl')
source=($url/media/sources/$pkgname-release-$pkgver-sources.tar.gz
glib-gettext.patch
$pkgname.desktop)
md5sums=('2c2d291deedcb72d1fcbbd8faf90d55c'
'bad5a86bebc1c16aad4cfbdf9444f8a0'
md5sums=('fb19efbc73f9694ee63d95459e193be7'
'965f5c7c25f60b27d06cc6fef7befd30')
prepare() {
cd $pkgname-$pkgver
patch -Np0 -i "$srcdir"/glib-gettext.patch
}
build() {
cd $pkgname-$pkgver
./autogen.sh
CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=0" \
./configure --prefix=/usr --bindir=/usr/bin --sysconfdir=/etc \
--mandir=/usr/share/man --enable-simd=no

View file

@ -1,16 +0,0 @@
Index: m4/glib-gettext.m4
===================================================================
RCS file: /cvsroot/gnubg/gnubg/m4/glib-gettext.m4,v
retrieving revision 1.4
diff -u -r1.4 glib-gettext.m4
--- m4/glib-gettext.m4 21 Apr 2016 21:30:20 -0000 1.4
+++ m4/glib-gettext.m4 2 May 2016 18:27:27 -0000
@@ -36,6 +36,8 @@
dnl try to pull in the installed version of these macros
dnl when running aclocal in the glib directory.
dnl
+m4_ifdef([glib_DEFUN],[m4_undefine([glib_DEFUN])])
+m4_ifdef([glib_REQUIRE],[m4_undefine([glib_REQUIRE])])
m4_copy([AC_DEFUN],[glib_DEFUN])
m4_copy([AC_REQUIRE],[glib_REQUIRE])
dnl