[arch-commits] Commit in tuxpaint/trunk (PKGBUILD)

Alexander Rødseth arodseth at archlinux.org
Mon Oct 30 11:56:00 UTC 2017


    Date: Monday, October 30, 2017 @ 11:55:59
  Author: arodseth
Revision: 264758

upgpkg: tuxpaint 0.9.22-3

Modified:
  tuxpaint/trunk/PKGBUILD

----------+
 PKGBUILD |   23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-10-30 11:52:52 UTC (rev 264757)
+++ PKGBUILD	2017-10-30 11:55:59 UTC (rev 264758)
@@ -12,11 +12,10 @@
 url='http://tuxpaint.org/'
 license=('GPL')
 backup=('etc/tuxpaint/tuxpaint.conf')
-depends=('python2' 'fribidi' 'sdl_ttf' 'sdl_mixer' 'sdl_image' 'sdl_pango'
-         'libpaper' 'librsvg')
-makedepends=('setconf' 'optipng' 'gperf')
-optdepends=('tuxpaint-stamps: more stamps'
-            'tuxpaint-conf: configuration manager')
+depends=('fribidi' 'libpaper' 'librsvg' 'python2' 'sdl_image' 'sdl_mixer' 'sdl_pango' 'sdl_ttf')
+makedepends=('gperf' 'optipng' 'setconf')
+optdepends=('tuxpaint-stamps: more stamps')
+           # AUR: 'tuxpaint-conf: configuration manager'
 source=("https://downloads.sourceforge.net/sourceforge/tuxpaint/$pkgname-$pkgver.tar.gz")
 sha256sums=('8abd932f8e36fad795bba0290c094c9c221e424c4b9aa8c763b7fb3459cb2be3')
 
@@ -28,20 +27,20 @@
     sed -i '0,/on/s//on2/' $f
   done
 
-  # libpng15 fix
-  sed -i 's:$(ARCH_LINKS):$(ARCH_LINKS) -lpng:' Makefile
-
   # libpng16 fix
   find -name '*.png' -exec optipng -quiet -force -fix {} +
 
+  # libpng15 fix
+  #sed -i 's:$(ARCH_LINKS):$(ARCH_LINKS) -lpng:' Makefile
+
   # fullscreen by default
-  sed -i 's:# fu:fu:' src/tuxpaint.conf
+  setconf -u src/tuxpaint.conf fullscreen=true
 
   # desktop shortcut categories
-  setconf src/tuxpaint.desktop Categories 'Game;KidsGame;Graphics;RasterGraphics;'
+  setconf src/tuxpaint.desktop Categories='Game;KidsGame;Graphics;RasterGraphics;'
 
   # bash completion placement
-  setconf Makefile COMPLETIONDIR '$(DESTDIR)/usr/share/bash-completion/completions'
+  setconf Makefile COMPLETIONDIR='$(DESTDIR)/usr/share/bash-completion/completions'
 }
 
 build() {
@@ -66,4 +65,4 @@
 }
 
 # getver: tuxpaint.org/download/source
-# vim:ts=2 sw=2 et:
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list