mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
community/gnubg to 1.05.000-2
This commit is contained in:
parent
5adbba321f
commit
72ec64e829
3 changed files with 27 additions and 14 deletions
|
@ -7,23 +7,31 @@
|
|||
|
||||
pkgname=gnubg
|
||||
pkgver=1.05.000
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="World class backgammon application"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.gnubg.org"
|
||||
license=('GPL3')
|
||||
depends=('python2' 'gtkglext' 'hicolor-icon-theme' 'curl')
|
||||
install=$pkgname.install
|
||||
depends=('python2' 'gtkglext' 'curl')
|
||||
source=($url/media/sources/$pkgname-release-$pkgver-sources.tar.gz
|
||||
glib-gettext.patch
|
||||
$pkgname.desktop)
|
||||
md5sums=('2c2d291deedcb72d1fcbbd8faf90d55c'
|
||||
'bad5a86bebc1c16aad4cfbdf9444f8a0'
|
||||
'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
|
||||
|
||||
|
|
16
community/gnubg/glib-gettext.patch
Normal file
16
community/gnubg/glib-gettext.patch
Normal file
|
@ -0,0 +1,16 @@
|
|||
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
|
|
@ -1,11 +0,0 @@
|
|||
post_install() {
|
||||
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
Loading…
Reference in a new issue