[arch-commits] Commit in tuxpaint/repos/community-x86_64 (PKGBUILD PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Fri Sep 14 19:27:15 UTC 2018
Date: Friday, September 14, 2018 @ 19:27:14
Author: arodseth
Revision: 380993
archrelease: copy trunk to community-x86_64
Added:
tuxpaint/repos/community-x86_64/PKGBUILD
(from rev 380992, tuxpaint/trunk/PKGBUILD)
Deleted:
tuxpaint/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 129 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 64 insertions(+), 65 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-09-14 19:27:06 UTC (rev 380992)
+++ PKGBUILD 2018-09-14 19:27:14 UTC (rev 380993)
@@ -1,65 +0,0 @@
-# $Id$
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
-# Contributor: Mateusz Herych <heniekk at gmail.com>
-# Contributor: Sergio Jovani Guzman <moret.sjg at gmail.com>
-# Contributor: royrocks <royrocks13 at gmail.com>
-
-pkgname=tuxpaint
-pkgver=0.9.22
-pkgrel=4
-pkgdesc='Drawing program designed for young children'
-arch=('x86_64' 'i686')
-url='http://tuxpaint.org/' # no https available
-license=('GPL')
-backup=('etc/tuxpaint/tuxpaint.conf')
-depends=('fribidi' 'libpaper' 'librsvg' 'python2' 'sdl_image' 'sdl_mixer' 'sdl_pango' 'sdl_ttf')
-makedepends=('gperf' 'optipng' 'setconf')
-optdepends=('tuxpaint-stamps: more stamps'
- 'tuxpaint-conf: configuration manager')
-source=("https://downloads.sourceforge.net/sourceforge/tuxpaint/$pkgname-$pkgver.tar.gz")
-sha256sums=('8abd932f8e36fad795bba0290c094c9c221e424c4b9aa8c763b7fb3459cb2be3')
-
-prepare() {
- cd "$pkgname-$pkgver"
-
- # python2 fix
- for f in docs/zh_tw/mkTuxpaintIM.py fonts/locale/zh_tw_docs/maketuxfont.py; do
- 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;'
-
- # fullscreen by default
- setconf -u src/tuxpaint.conf fullscreen=true
-
- # location of bash completion files
- setconf Makefile COMPLETIONDIR='$(DESTDIR)/usr/share/bash-completion/completions'
-}
-
-build() {
- make -C "$pkgname-$pkgver" PREFIX=/usr clean translations all -j1
-}
-
-package() {
- make -C "$pkgname-$pkgver" \
- PREFIX=/usr \
- GNOME_PREFIX=/usr \
- X11_ICON_PREFIX="$pkgdir/usr/share/pixmaps" \
- DESTDIR="$pkgdir" \
- install -j1
-
- # fix permissions
- chmod -R 644 "$pkgdir/usr/share/doc/tuxpaint-dev/"*
- chmod 755 "$pkgdir/usr/share/doc/tuxpaint-dev/html"
-
- # bash completions
- mv "$pkgdir/usr/share/bash-completion/completions/tuxpaint-completion.bash" \
- "$pkgdir/usr/share/bash-completion/completions/tuxpaint"
-}
-
-# getver: tuxpaint.org/download/source
-# vim: ts=2 sw=2 et:
Copied: tuxpaint/repos/community-x86_64/PKGBUILD (from rev 380992, tuxpaint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-09-14 19:27:14 UTC (rev 380993)
@@ -0,0 +1,64 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Mateusz Herych <heniekk at gmail.com>
+# Contributor: Sergio Jovani Guzman <moret.sjg at gmail.com>
+# Contributor: royrocks <royrocks13 at gmail.com>
+
+pkgname=tuxpaint
+pkgver=0.9.23
+pkgrel=1
+pkgdesc='Drawing program designed for young children'
+arch=('x86_64')
+url='http://tuxpaint.org/' # no https available
+license=('GPL')
+backup=('etc/tuxpaint/tuxpaint.conf')
+depends=('fribidi' 'libpaper' 'librsvg' 'python2' 'sdl_image'
+ 'sdl_mixer' 'sdl_pango' 'sdl_ttf')
+makedepends=('gperf' 'optipng' 'setconf')
+optdepends=('tuxpaint-stamps: more stamps'
+ 'tuxpaint-conf: configuration manager')
+source=("https://downloads.sourceforge.net/sourceforge/tuxpaint/$pkgname-$pkgver.tar.gz")
+sha256sums=('349919c44e0fa252581be6e3242251fb62d20a82c971e99be96d648462bf6926')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+
+ # python2 fix
+ for f in docs/zh_tw/mkTuxpaintIM.py fonts/locale/zh_tw_docs/maketuxfont.py; do
+ 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;'
+
+ # fullscreen by default
+ setconf -u src/tuxpaint.conf fullscreen=true
+
+ # location of bash completion files
+ setconf Makefile COMPLETIONDIR='$(DESTDIR)/usr/share/bash-completion/completions'
+
+ # no KDE4-related requirements at installation-time
+ setconf Makefile ARCH_INSTALL=''
+}
+
+build() {
+ make -C "$pkgname-$pkgver" PREFIX=/usr clean translations all -j1
+}
+
+package() {
+ make -C "$pkgname-$pkgver" \
+ PREFIX=/usr \
+ GNOME_PREFIX=/usr \
+ X11_ICON_PREFIX="$pkgdir/usr/share/pixmaps" \
+ DESTDIR="$pkgdir" \
+ install -j1
+
+ # bash completions
+ mv "$pkgdir/usr/share/bash-completion/completions/tuxpaint-completion.bash" \
+ "$pkgdir/usr/share/bash-completion/completions/tuxpaint"
+}
+
+# getver: tuxpaint.org/download/source
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list