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

Alexander Rødseth arodseth at archlinux.org
Fri Sep 21 10:54:48 UTC 2018


    Date: Friday, September 21, 2018 @ 10:54:48
  Author: arodseth
Revision: 383821

upgpkg: tuxpaint 0.9.23-2

Modified:
  tuxpaint/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-21 10:48:42 UTC (rev 383820)
+++ PKGBUILD	2018-09-21 10:54:48 UTC (rev 383821)
@@ -5,7 +5,7 @@
 
 pkgname=tuxpaint
 pkgver=0.9.23
-pkgrel=1
+pkgrel=2
 pkgdesc='Drawing program designed for young children'
 arch=('x86_64')
 url='http://tuxpaint.org/' # no https available
@@ -13,7 +13,7 @@
 backup=('etc/tuxpaint/tuxpaint.conf')
 depends=('fribidi' 'libpaper' 'librsvg' 'python2' 'sdl_image'
          'sdl_mixer' 'sdl_pango' 'sdl_ttf')
-makedepends=('gperf' 'optipng' 'setconf')
+makedepends=('gperf' 'setconf')
 optdepends=('tuxpaint-stamps: more stamps'
             'tuxpaint-conf: configuration manager')
 source=("https://downloads.sourceforge.net/sourceforge/tuxpaint/$pkgname-$pkgver.tar.gz")
@@ -27,9 +27,6 @@
     sed -i '0,/on/s//on2/' $f
   done
 
-  # libpng16 fix
-  find -name '*.png' -exec optipng -quiet -force -fix {} +
-
   # desktop shortcut categories
   setconf src/tuxpaint.desktop Categories='Game;KidsGame;Graphics;RasterGraphics;'
 
@@ -58,6 +55,10 @@
   # bash completions
   mv "$pkgdir/usr/share/bash-completion/completions/tuxpaint-completion.bash" \
     "$pkgdir/usr/share/bash-completion/completions/tuxpaint"
+
+  # desktop shortcut
+  install -Dm644 "$pkgname-$pkgver/src/$pkgname.desktop" \
+    "$pkgdir/usr/share/applications/$pkgname.desktop"
 }
 
 # getver: tuxpaint.org/download/source



More information about the arch-commits mailing list