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

2018-09-21 Thread Alexander Rødseth via arch-commits
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
===
--- PKGBUILD2018-09-21 10:48:42 UTC (rev 383820)
+++ PKGBUILD2018-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


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

2018-09-14 Thread Alexander Rødseth via arch-commits
Date: Friday, September 14, 2018 @ 19:27:06
  Author: arodseth
Revision: 380992

upgpkg: tuxpaint 0.9.23-1

Modified:
  tuxpaint/trunk/PKGBUILD

--+
 PKGBUILD |   18 +-
 1 file changed, 9 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-09-14 19:22:48 UTC (rev 380991)
+++ PKGBUILD2018-09-14 19:27:06 UTC (rev 380992)
@@ -1,22 +1,23 @@
-# Maintainer: Alexander F Rødseth 
+# Maintainer: Alexander F. Rødseth 
 # Contributor: Mateusz Herych 
 # Contributor: Sergio Jovani Guzman 
 # Contributor: royrocks 
 
 pkgname=tuxpaint
-pkgver=0.9.22
-pkgrel=4
+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')
+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')
+sha256sums=('349919c44e0fa252581be6e3242251fb62d20a82c971e99be96d648462bf6926')
 
 prepare() {
   cd "$pkgname-$pkgver"
@@ -37,6 +38,9 @@
 
   # 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() {
@@ -51,10 +55,6 @@
 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"


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

2017-10-30 Thread Alexander Rødseth
Date: Monday, October 30, 2017 @ 12:26:56
  Author: arodseth
Revision: 264771

upgpkg: tuxpaint 0.9.22-4

Modified:
  tuxpaint/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-10-30 12:21:12 UTC (rev 264770)
+++ PKGBUILD2017-10-30 12:26:56 UTC (rev 264771)
@@ -6,16 +6,16 @@
 
 pkgname=tuxpaint
 pkgver=0.9.22
-pkgrel=3
+pkgrel=4
 pkgdesc='Drawing program designed for young children'
 arch=('x86_64' 'i686')
-url='http://tuxpaint.org/'
+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')
-   # AUR: 'tuxpaint-conf: configuration manager'
+optdepends=('tuxpaint-stamps: more stamps'
+'tuxpaint-conf: configuration manager')
 
source=("https://downloads.sourceforge.net/sourceforge/tuxpaint/$pkgname-$pkgver.tar.gz;)
 sha256sums=('8abd932f8e36fad795bba0290c094c9c221e424c4b9aa8c763b7fb3459cb2be3')
 


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

2017-10-30 Thread Alexander Rødseth
Date: Monday, October 30, 2017 @ 12:19:04
  Author: arodseth
Revision: 264766

upgpkg: tuxpaint 0.9.22-3

Modified:
  tuxpaint/trunk/PKGBUILD

--+
 PKGBUILD |9 +++--
 1 file changed, 3 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-10-30 12:02:20 UTC (rev 264765)
+++ PKGBUILD2017-10-30 12:19:04 UTC (rev 264766)
@@ -30,16 +30,13 @@
   # libpng16 fix
   find -name '*.png' -exec optipng -quiet -force -fix {} +
 
-  # libpng15 fix
-  #sed -i 's:$(ARCH_LINKS):$(ARCH_LINKS) -lpng:' Makefile
+  # desktop shortcut categories
+  setconf src/tuxpaint.desktop 
Categories='Game;KidsGame;Graphics;RasterGraphics;'
 
   # fullscreen by default
   setconf -u src/tuxpaint.conf fullscreen=true
 
-  # desktop shortcut categories
-  setconf src/tuxpaint.desktop 
Categories='Game;KidsGame;Graphics;RasterGraphics;'
-
-  # bash completion placement
+  # location of bash completion files
   setconf Makefile 
COMPLETIONDIR='$(DESTDIR)/usr/share/bash-completion/completions'
 }
 


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

2017-10-30 Thread Alexander Rødseth
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
===
--- PKGBUILD2017-10-30 11:52:52 UTC (rev 264757)
+++ PKGBUILD2017-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:


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

2017-09-27 Thread Alexander Rødseth
Date: Wednesday, September 27, 2017 @ 11:55:48
  Author: arodseth
Revision: 260659

upgpkg: tuxpaint 0.9.22-3

Modified:
  tuxpaint/trunk/PKGBUILD

--+
 PKGBUILD |   38 +++---
 1 file changed, 19 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2017-09-27 11:25:58 UTC (rev 260658)
+++ PKGBUILD2017-09-27 11:55:48 UTC (rev 260659)
@@ -1,5 +1,5 @@
 # $Id$
-# Maintainer: Alexander Rødseth 
+# Maintainer: Alexander F Rødseth 
 # Contributor: Mateusz Herych 
 # Contributor: Sergio Jovani Guzman 
 # Contributor: royrocks 
@@ -6,10 +6,10 @@
 
 pkgname=tuxpaint
 pkgver=0.9.22
-pkgrel=2
+pkgrel=3
 pkgdesc='Drawing program designed for young children'
 arch=('x86_64' 'i686')
-url='http://www.tuxpaint.org/'
+url='http://tuxpaint.org/'
 license=('GPL')
 backup=('etc/tuxpaint/tuxpaint.conf')
 depends=('python2' 'fribidi' 'sdl_ttf' 'sdl_mixer' 'sdl_image' 'sdl_pango'
@@ -17,18 +17,12 @@
 makedepends=('setconf' 'optipng' 'gperf')
 optdepends=('tuxpaint-stamps: more stamps'
 'tuxpaint-conf: configuration manager')
-source=("http://downloads.sourceforge.net/sourceforge/tuxpaint/$pkgname-$pkgver.tar.gz;)
+source=("https://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
@@ -40,30 +34,36 @@
   # libpng16 fix
   find -name '*.png' -exec optipng -quiet -force -fix {} +
 
+  # fullscreen by default
+  sed -i 's:# fu:fu:' src/tuxpaint.conf
+
+  # desktop shortcut categories
+  setconf src/tuxpaint.desktop Categories 
'Game;KidsGame;Graphics;RasterGraphics;'
+
   # 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
+  make -C "$pkgname-$pkgver" PREFIX=/usr clean translations all -j1
 }
 
 package() {
-  ls "$pkgname-$pkgver/trans"
-  make -j1 -C "$pkgname-$pkgver" \
+  make -C "$pkgname-$pkgver" \
 PREFIX=/usr \
-DESTDIR="$pkgdir" \
 GNOME_PREFIX=/usr \
 X11_ICON_PREFIX="$pkgdir/usr/share/pixmaps" \
-install
+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:set ts=2 sw=2 et:
+# vim:ts=2 sw=2 et:


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

2016-01-08 Thread Alexander Rødseth
Date: Saturday, January 9, 2016 @ 03:18:17
  Author: arodseth
Revision: 155738

upgpkg: tuxpaint 0.9.22-2

Modified:
  tuxpaint/trunk/PKGBUILD

--+
 PKGBUILD |   14 +++---
 1 file changed, 11 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-01-08 23:27:47 UTC (rev 155737)
+++ PKGBUILD2016-01-09 02:18:17 UTC (rev 155738)
@@ -6,7 +6,7 @@
 
 pkgname=tuxpaint
 pkgver=0.9.22
-pkgrel=1
+pkgrel=2
 pkgdesc='Drawing program designed for young children'
 arch=('x86_64' 'i686')
 url='http://www.tuxpaint.org/'
@@ -39,14 +39,21 @@
 
   # libpng16 fix
   find -name '*.png' -exec optipng -quiet -force -fix {} +
+
+  # bash completion placement
+  setconf Makefile COMPLETIONDIR 
'$(DESTDIR)/usr/share/bash-completion/completions'
 }
 
 build() {
-  make -C "$pkgname-$pkgver" PREFIX=/usr
+  cd "$pkgname-$pkgver"
+  make clean
+  make translations -j1
+  make PREFIX=/usr -j1
 }
 
 package() {
-  make -C "$pkgname-$pkgver" \
+  ls "$pkgname-$pkgver/trans"
+  make -j1 -C "$pkgname-$pkgver" \
 PREFIX=/usr \
 DESTDIR="$pkgdir" \
 GNOME_PREFIX=/usr \
@@ -56,4 +63,5 @@
   chmod 755 "$pkgdir/usr/share/doc/tuxpaint-dev/html"
 }
 
+# getver: tuxpaint.org/download/source
 # vim:set ts=2 sw=2 et:


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

2016-01-08 Thread Alexander Rødseth
Date: Saturday, January 9, 2016 @ 03:24:21
  Author: arodseth
Revision: 155741

upgpkg: tuxpaint 0.9.22-2

Modified:
  tuxpaint/trunk/PKGBUILD

--+
 PKGBUILD |2 ++
 1 file changed, 2 insertions(+)

Modified: PKGBUILD
===
--- PKGBUILD2016-01-09 02:23:43 UTC (rev 155740)
+++ PKGBUILD2016-01-09 02:24:21 UTC (rev 155741)
@@ -61,6 +61,8 @@
 install
   chmod -R 644 "$pkgdir/usr/share/doc/tuxpaint-dev/"*
   chmod 755 "$pkgdir/usr/share/doc/tuxpaint-dev/html"
+  mv "$pkgdir/usr/share/bash-completion/completions/tuxpaint-completion.bash" \
+"$pkgdir/usr/share/bash-completion/completions/tuxpaint"
 }
 
 # getver: tuxpaint.org/download/source


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

2014-09-19 Thread Alexander Rødseth
Date: Friday, September 19, 2014 @ 20:30:48
  Author: arodseth
Revision: 119245

upgpkg: tuxpaint 0.9.22-1

Modified:
  tuxpaint/trunk/PKGBUILD

--+
 PKGBUILD |   28 
 1 file changed, 12 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2014-09-19 17:43:35 UTC (rev 119244)
+++ PKGBUILD2014-09-19 18:30:48 UTC (rev 119245)
@@ -5,8 +5,8 @@
 # Contributor: royrocks royrock...@gmail.com
 
 pkgname=tuxpaint
-pkgver=0.9.21
-pkgrel=9
+pkgver=0.9.22
+pkgrel=1
 pkgdesc='Drawing program designed for young children'
 arch=('x86_64' 'i686')
 url='http://www.tuxpaint.org/'
@@ -14,18 +14,19 @@
 backup=('etc/tuxpaint/tuxpaint.conf')
 depends=('python2' 'fribidi' 'sdl_ttf' 'sdl_mixer' 'sdl_image' 'sdl_pango'
  'libpaper' 'librsvg')
-makedepends=('setconf' 'optipng')
+makedepends=('setconf' 'optipng' 'gperf')
 optdepends=('tuxpaint-stamps: more stamps'
 'tuxpaint-conf: configuration manager')
-source=(http://downloads.sourceforge.net/sourceforge/tuxpaint/$pkgname-$pkgver.tar.gz;
-'tuxpaint-0.9.21-libpng1.5.patch')
-sha256sums=('6d4f2b981643b5c937708e5e6cdaf318ae7b5562375327b4b1cb84611e65ede9'
-'6d572467fce710c9323ba53bb3309eb7ed1401b4fee2c1f56533e871558a7f20')
+source=(http://downloads.sourceforge.net/sourceforge/tuxpaint/$pkgname-$pkgver.tar.gz;)
+sha256sums=('8abd932f8e36fad795bba0290c094c9c221e424c4b9aa8c763b7fb3459cb2be3')
 
 prepare() {
-  cd $srcdir/$pkgname-$pkgver
+  cd $pkgname-$pkgver
 
-  setconf src/tuxpaint.desktop Categories 
'Game;KidsGame;Graphics;RasterGraphics;'
+  setconf src/tuxpaint.desktop Categories \
+'Game;KidsGame;Graphics;RasterGraphics;'
+
+  # fullscreen
   sed -i 's:# fu:fu:' src/tuxpaint.conf
 
   # python2 fix
@@ -34,7 +35,6 @@
   done
 
   # libpng15 fix
-  patch -p0 -i ../tuxpaint-0.9.21-libpng1.5.patch
   sed -i 's:$(ARCH_LINKS):$(ARCH_LINKS) -lpng:' Makefile
 
   # libpng16 fix
@@ -42,15 +42,11 @@
 }
 
 build() {
-  cd $srcdir/$pkgname-$pkgver
-
-  make PREFIX=/usr
+  make -C $pkgname-$pkgver PREFIX=/usr
 }
 
 package() {
-  cd $srcdir/$pkgname-$pkgver
-
-  make \
+  make -C $pkgname-$pkgver \
 PREFIX=/usr \
 DESTDIR=$pkgdir \
 GNOME_PREFIX=/usr \



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

2013-05-19 Thread Alexander Rødseth
Date: Sunday, May 19, 2013 @ 13:23:07
  Author: arodseth
Revision: 91095

libpng16 fix

Modified:
  tuxpaint/trunk/PKGBUILD

--+
 PKGBUILD |   13 +
 1 file changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-05-19 11:05:03 UTC (rev 91094)
+++ PKGBUILD2013-05-19 11:23:07 UTC (rev 91095)
@@ -6,7 +6,7 @@
 
 pkgname=tuxpaint
 pkgver=0.9.21
-pkgrel=9
+pkgrel=10
 pkgdesc='Drawing program designed for young children'
 arch=('x86_64' 'i686')
 url='http://www.tuxpaint.org/'
@@ -14,7 +14,7 @@
 backup=('etc/tuxpaint/tuxpaint.conf')
 depends=('python2' 'fribidi' 'sdl_ttf' 'sdl_mixer' 'sdl_image' 'sdl_pango'
  'libpaper' 'librsvg')
-makedepends=('setconf')
+makedepends=('setconf' 'optipng')
 optdepends=('tuxpaint-stamps: more stamps'
 'tuxpaint-conf: configuration manager')
 
source=(http://downloads.sourceforge.net/sourceforge/tuxpaint/$pkgname-$pkgver.tar.gz;
@@ -25,15 +25,20 @@
 prepare() {
   cd $srcdir/$pkgname-$pkgver
 
+  setconf src/tuxpaint.desktop Categories 
'Game;KidsGame;Graphics;RasterGraphics;'
+  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
   patch -p0 -i ../tuxpaint-0.9.21-libpng1.5.patch
   sed -i 's:$(ARCH_LINKS):$(ARCH_LINKS) -lpng:' Makefile
-  setconf src/tuxpaint.desktop Categories 
'Game;KidsGame;Graphics;RasterGraphics;'
-  sed -i 's:# fu:fu:' src/tuxpaint.conf
+
+  # libpng16 fix
+  find -name '*.png' -exec optipng -quiet -force -fix {} +
 }
 
 build() {



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

2013-05-19 Thread Alexander Rødseth
Date: Sunday, May 19, 2013 @ 13:26:46
  Author: arodseth
Revision: 91096

pkgrel should be 9

Modified:
  tuxpaint/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-05-19 11:23:07 UTC (rev 91095)
+++ PKGBUILD2013-05-19 11:26:46 UTC (rev 91096)
@@ -6,7 +6,7 @@
 
 pkgname=tuxpaint
 pkgver=0.9.21
-pkgrel=10
+pkgrel=9
 pkgdesc='Drawing program designed for young children'
 arch=('x86_64' 'i686')
 url='http://www.tuxpaint.org/'



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

2013-05-02 Thread Alexander Rødseth
Date: Thursday, May 2, 2013 @ 13:49:54
  Author: arodseth
Revision: 89800

Added a prepare() function

Modified:
  tuxpaint/trunk/PKGBUILD

--+
 PKGBUILD |9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2013-05-02 11:20:24 UTC (rev 89799)
+++ PKGBUILD2013-05-02 11:49:54 UTC (rev 89800)
@@ -6,7 +6,7 @@
 
 pkgname=tuxpaint
 pkgver=0.9.21
-pkgrel=8
+pkgrel=9
 pkgdesc='Drawing program designed for young children'
 arch=('x86_64' 'i686')
 url='http://www.tuxpaint.org/'
@@ -22,7 +22,7 @@
 sha256sums=('6d4f2b981643b5c937708e5e6cdaf318ae7b5562375327b4b1cb84611e65ede9'
 '6d572467fce710c9323ba53bb3309eb7ed1401b4fee2c1f56533e871558a7f20')
 
-build() {
+prepare() {
   cd $srcdir/$pkgname-$pkgver
 
   # python2 fix
@@ -34,6 +34,11 @@
   sed -i 's:$(ARCH_LINKS):$(ARCH_LINKS) -lpng:' Makefile
   setconf src/tuxpaint.desktop Categories 
'Game;KidsGame;Graphics;RasterGraphics;'
   sed -i 's:# fu:fu:' src/tuxpaint.conf
+}
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+
   make PREFIX=/usr
 }
 



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

2013-04-29 Thread Evangelos Foutras
Date: Monday, April 29, 2013 @ 13:23:48
  Author: foutrelis
Revision: 89419

upgpkg: tuxpaint 0.9.21-8

libpng 1.6 rebuild.

Modified:
  tuxpaint/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2013-04-29 11:17:15 UTC (rev 89418)
+++ PKGBUILD2013-04-29 11:23:48 UTC (rev 89419)
@@ -6,7 +6,7 @@
 
 pkgname=tuxpaint
 pkgver=0.9.21
-pkgrel=7
+pkgrel=8
 pkgdesc='Drawing program designed for young children'
 arch=('x86_64' 'i686')
 url='http://www.tuxpaint.org/'
@@ -24,12 +24,12 @@
 
 build() {
   cd $srcdir/$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
-  
+
   patch -p0 -i ../tuxpaint-0.9.21-libpng1.5.patch
   sed -i 's:$(ARCH_LINKS):$(ARCH_LINKS) -lpng:' Makefile
   setconf src/tuxpaint.desktop Categories 
'Game;KidsGame;Graphics;RasterGraphics;'