[arch-commits] Commit in gnubg/trunk (PKGBUILD glib-gettext.patch gnubg.install)
Jonathan Steel
jsteel at archlinux.org
Thu May 5 19:00:44 UTC 2016
Date: Thursday, May 5, 2016 @ 21:00:44
Author: jsteel
Revision: 173856
upgpkg: gnubg 1.05.000-2
Hooks (part 1)
Added:
gnubg/trunk/glib-gettext.patch
Modified:
gnubg/trunk/PKGBUILD
Deleted:
gnubg/trunk/gnubg.install
--------------------+
PKGBUILD | 14 +++++++++++---
glib-gettext.patch | 16 ++++++++++++++++
gnubg.install | 11 -----------
3 files changed, 27 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-05-05 18:43:22 UTC (rev 173855)
+++ PKGBUILD 2016-05-05 19:00:44 UTC (rev 173856)
@@ -4,23 +4,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=sse2
Added: glib-gettext.patch
===================================================================
--- glib-gettext.patch (rev 0)
+++ glib-gettext.patch 2016-05-05 19:00:44 UTC (rev 173856)
@@ -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
Deleted: gnubg.install
===================================================================
--- gnubg.install 2016-05-05 18:43:22 UTC (rev 173855)
+++ gnubg.install 2016-05-05 19:00:44 UTC (rev 173856)
@@ -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
-}
More information about the arch-commits
mailing list