Date: Tuesday, May 3, 2016 @ 19:25:40 Author: schuay Revision: 173583
puzzles hooks rebuild and update Modified: puzzles/trunk/PKGBUILD Deleted: puzzles/trunk/puzzles.install -----------------+ PKGBUILD | 8 ++++---- puzzles.install | 19 ------------------- 2 files changed, 4 insertions(+), 23 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-05-03 17:13:51 UTC (rev 173582) +++ PKGBUILD 2016-05-03 17:25:40 UTC (rev 173583) @@ -3,7 +3,7 @@ # Maintainer: schuay <[email protected]> pkgname=puzzles -pkgver=20160103 +pkgver=20160428 pkgrel=1 pkgdesc="Simon Tatham's Portable Puzzle Collection" arch=('i686' 'x86_64') @@ -11,8 +11,7 @@ license=('MIT') makedepends=('pkgconfig' 'subversion' 'xorg-server-xvfb' 'imagemagick' 'git') depends=('gtk2' 'desktop-file-utils') -install=puzzles.install -source=("git://git.tartarus.org/simon/puzzles.git#commit=55683abd") +source=("git://git.tartarus.org/simon/puzzles.git#commit=b31155b7") md5sums=("SKIP") prepare() { @@ -21,7 +20,8 @@ # Generate the makefiles. ./mkfiles.pl sed -i 's|\$(gamesdir)|\$(bindir)|' Makefile.gtk - sed -i 's_CFLAGS := -O2_CFLAGS := -O2 -Wno-variadic-macros_g' Makefile.gtk + sed -i 's_-Werror __' Makefile.gtk + sed -i 's_CFLAGS := -O2_CFLAGS := -O2 -Wno-variadic-macros -Wno-long-long_g' Makefile.gtk # Tweak desktop file generation to use proper icon paths. sed -i 's_\$icondir\/\$id-48d24.png_$id_' desktop.pl Deleted: puzzles.install =================================================================== --- puzzles.install 2016-05-03 17:13:51 UTC (rev 173582) +++ puzzles.install 2016-05-03 17:25:40 UTC (rev 173583) @@ -1,19 +0,0 @@ -pkgname=puzzles - -post_install() { - update-desktop-database -q - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor -} - -pre_upgrade() { - pre_remove $1 -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor -} -
