[arch-commits] Commit in tuxpaint/repos (4 files)

Alexander Rødseth arodseth at archlinux.org
Sat Jan 9 02:18:30 UTC 2016


    Date: Saturday, January 9, 2016 @ 03:18:29
  Author: arodseth
Revision: 155739

archrelease: copy trunk to community-x86_64, community-i686

Added:
  tuxpaint/repos/community-i686/PKGBUILD
    (from rev 155738, tuxpaint/trunk/PKGBUILD)
  tuxpaint/repos/community-x86_64/PKGBUILD
    (from rev 155738, tuxpaint/trunk/PKGBUILD)
Deleted:
  tuxpaint/repos/community-i686/PKGBUILD
  tuxpaint/repos/community-x86_64/PKGBUILD

---------------------------+
 /PKGBUILD                 |  134 ++++++++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD   |   59 -------------------
 community-x86_64/PKGBUILD |   59 -------------------
 3 files changed, 134 insertions(+), 118 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2016-01-09 02:18:17 UTC (rev 155738)
+++ community-i686/PKGBUILD	2016-01-09 02:18:29 UTC (rev 155739)
@@ -1,59 +0,0 @@
-# $Id$
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
-# 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=1
-pkgdesc='Drawing program designed for young children'
-arch=('x86_64' 'i686')
-url='http://www.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')
-source=("http://downloads.sourceforge.net/sourceforge/tuxpaint/$pkgname-$pkgver.tar.gz")
-sha256sums=('8abd932f8e36fad795bba0290c094c9c221e424c4b9aa8c763b7fb3459cb2be3')
-
-prepare() {
-  cd "$pkgname-$pkgver"
-
-  setconf src/tuxpaint.desktop Categories \
-    'Game;KidsGame;Graphics;RasterGraphics;'
-
-  # fullscreen
-  sed -i 's:# fu:fu:' src/tuxpaint.conf
-
-  # 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
-
-  # libpng15 fix
-  sed -i 's:$(ARCH_LINKS):$(ARCH_LINKS) -lpng:' Makefile
-
-  # libpng16 fix
-  find -name '*.png' -exec optipng -quiet -force -fix {} +
-}
-
-build() {
-  make -C "$pkgname-$pkgver" PREFIX=/usr
-}
-
-package() {
-  make -C "$pkgname-$pkgver" \
-    PREFIX=/usr \
-    DESTDIR="$pkgdir" \
-    GNOME_PREFIX=/usr \
-    X11_ICON_PREFIX="$pkgdir/usr/share/pixmaps" \
-    install
-  chmod -R 644 "$pkgdir/usr/share/doc/tuxpaint-dev/"*
-  chmod 755 "$pkgdir/usr/share/doc/tuxpaint-dev/html"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: tuxpaint/repos/community-i686/PKGBUILD (from rev 155738, tuxpaint/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2016-01-09 02:18:29 UTC (rev 155739)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# 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=2
+pkgdesc='Drawing program designed for young children'
+arch=('x86_64' 'i686')
+url='http://www.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')
+source=("http://downloads.sourceforge.net/sourceforge/tuxpaint/$pkgname-$pkgver.tar.gz")
+sha256sums=('8abd932f8e36fad795bba0290c094c9c221e424c4b9aa8c763b7fb3459cb2be3')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  setconf src/tuxpaint.desktop Categories \
+    'Game;KidsGame;Graphics;RasterGraphics;'
+
+  # fullscreen
+  sed -i 's:# fu:fu:' src/tuxpaint.conf
+
+  # 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
+
+  # libpng15 fix
+  sed -i 's:$(ARCH_LINKS):$(ARCH_LINKS) -lpng:' Makefile
+
+  # libpng16 fix
+  find -name '*.png' -exec optipng -quiet -force -fix {} +
+
+  # bash completion placement
+  setconf Makefile COMPLETIONDIR '$(DESTDIR)/usr/share/bash-completion/completions'
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  make clean
+  make translations -j1
+  make PREFIX=/usr -j1
+}
+
+package() {
+  ls "$pkgname-$pkgver/trans"
+  make -j1 -C "$pkgname-$pkgver" \
+    PREFIX=/usr \
+    DESTDIR="$pkgdir" \
+    GNOME_PREFIX=/usr \
+    X11_ICON_PREFIX="$pkgdir/usr/share/pixmaps" \
+    install
+  chmod -R 644 "$pkgdir/usr/share/doc/tuxpaint-dev/"*
+  chmod 755 "$pkgdir/usr/share/doc/tuxpaint-dev/html"
+}
+
+# getver: tuxpaint.org/download/source
+# vim:set ts=2 sw=2 et:

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2016-01-09 02:18:17 UTC (rev 155738)
+++ community-x86_64/PKGBUILD	2016-01-09 02:18:29 UTC (rev 155739)
@@ -1,59 +0,0 @@
-# $Id$
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
-# 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=1
-pkgdesc='Drawing program designed for young children'
-arch=('x86_64' 'i686')
-url='http://www.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')
-source=("http://downloads.sourceforge.net/sourceforge/tuxpaint/$pkgname-$pkgver.tar.gz")
-sha256sums=('8abd932f8e36fad795bba0290c094c9c221e424c4b9aa8c763b7fb3459cb2be3')
-
-prepare() {
-  cd "$pkgname-$pkgver"
-
-  setconf src/tuxpaint.desktop Categories \
-    'Game;KidsGame;Graphics;RasterGraphics;'
-
-  # fullscreen
-  sed -i 's:# fu:fu:' src/tuxpaint.conf
-
-  # 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
-
-  # libpng15 fix
-  sed -i 's:$(ARCH_LINKS):$(ARCH_LINKS) -lpng:' Makefile
-
-  # libpng16 fix
-  find -name '*.png' -exec optipng -quiet -force -fix {} +
-}
-
-build() {
-  make -C "$pkgname-$pkgver" PREFIX=/usr
-}
-
-package() {
-  make -C "$pkgname-$pkgver" \
-    PREFIX=/usr \
-    DESTDIR="$pkgdir" \
-    GNOME_PREFIX=/usr \
-    X11_ICON_PREFIX="$pkgdir/usr/share/pixmaps" \
-    install
-  chmod -R 644 "$pkgdir/usr/share/doc/tuxpaint-dev/"*
-  chmod 755 "$pkgdir/usr/share/doc/tuxpaint-dev/html"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: tuxpaint/repos/community-x86_64/PKGBUILD (from rev 155738, tuxpaint/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2016-01-09 02:18:29 UTC (rev 155739)
@@ -0,0 +1,67 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# 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=2
+pkgdesc='Drawing program designed for young children'
+arch=('x86_64' 'i686')
+url='http://www.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')
+source=("http://downloads.sourceforge.net/sourceforge/tuxpaint/$pkgname-$pkgver.tar.gz")
+sha256sums=('8abd932f8e36fad795bba0290c094c9c221e424c4b9aa8c763b7fb3459cb2be3')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  setconf src/tuxpaint.desktop Categories \
+    'Game;KidsGame;Graphics;RasterGraphics;'
+
+  # fullscreen
+  sed -i 's:# fu:fu:' src/tuxpaint.conf
+
+  # 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
+
+  # libpng15 fix
+  sed -i 's:$(ARCH_LINKS):$(ARCH_LINKS) -lpng:' Makefile
+
+  # libpng16 fix
+  find -name '*.png' -exec optipng -quiet -force -fix {} +
+
+  # bash completion placement
+  setconf Makefile COMPLETIONDIR '$(DESTDIR)/usr/share/bash-completion/completions'
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  make clean
+  make translations -j1
+  make PREFIX=/usr -j1
+}
+
+package() {
+  ls "$pkgname-$pkgver/trans"
+  make -j1 -C "$pkgname-$pkgver" \
+    PREFIX=/usr \
+    DESTDIR="$pkgdir" \
+    GNOME_PREFIX=/usr \
+    X11_ICON_PREFIX="$pkgdir/usr/share/pixmaps" \
+    install
+  chmod -R 644 "$pkgdir/usr/share/doc/tuxpaint-dev/"*
+  chmod 755 "$pkgdir/usr/share/doc/tuxpaint-dev/html"
+}
+
+# getver: tuxpaint.org/download/source
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list