[arch-commits] Commit in paintown/repos (8 files)

Sven-Hendrik Haase svenstaro at nymeria.archlinux.org
Wed Mar 26 09:45:53 UTC 2014


    Date: Wednesday, March 26, 2014 @ 10:45:53
  Author: svenstaro
Revision: 108290

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

Added:
  paintown/repos/community-i686/PKGBUILD
    (from rev 108289, paintown/trunk/PKGBUILD)
  paintown/repos/community-x86_64/PKGBUILD
    (from rev 108289, paintown/trunk/PKGBUILD)
Deleted:
  paintown/repos/community-i686/PKGBUILD
  paintown/repos/community-i686/paintown.desktop
  paintown/repos/community-i686/paintown.png
  paintown/repos/community-x86_64/PKGBUILD
  paintown/repos/community-x86_64/paintown.desktop
  paintown/repos/community-x86_64/paintown.png

-----------------------------------+
 /PKGBUILD                         |  104 ++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD           |   50 -----------------
 community-i686/paintown.desktop   |   10 ---
 community-x86_64/PKGBUILD         |   50 -----------------
 community-x86_64/paintown.desktop |   10 ---
 5 files changed, 104 insertions(+), 120 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2014-03-26 09:45:42 UTC (rev 108289)
+++ community-i686/PKGBUILD	2014-03-26 09:45:53 UTC (rev 108290)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Jschares <jacob.schares at gmail.com>
-# Contributor: celmir <scibecelmir at tuxfamily.org>
-# Contributor: Feufochmar <guill.delacourt at gmail.com>
-
-pkgname=paintown
-pkgver=3.6.0
-pkgrel=2
-pkgdesc="Open source fighting game in the same genre as Streets of Rage and Teenage Mutant Ninja Turtles"
-arch=('i686' 'x86_64')
-url="http://paintown.sourceforge.net/"
-license=('GPL')
-depends=('python2' 'freetype2' 'sdl' 'libpng' 'mpg123' 'libogg' 'libvorbis')
-makedepends=('cmake')
-#install=paintown.install
-source=(http://downloads.sourceforge.net/sourceforge/paintown/$pkgname-$pkgver.tar.bz2
-        paintown.png
-        paintown.desktop)
-md5sums=('5c1160bee51fe2011a1141c490a5d368'
-         'ed547f1377212ea079cf9b0a1ad2d587'
-         '30d66c53c3f522eedab8a0125123b53f')
-
-build() {
-  cd "$pkgname-$pkgver"
-
-  # fix python2 header
-  for file in $(find . -name '*.py' -print); do
-     sed -i "s#/usr/bin/python#/usr/bin/env python2#" $file
-  done
-
-  mkdir -p build && cd build
-  cmake ..
-  make
-  cp bin/paintown ..
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  mkdir -p $pkgdir/usr/{bin,share/{paintown,pixmaps,applications,licenses/paintown}}
-  sh install.sh -d $pkgdir/usr/share/paintown -b $pkgdir/usr/bin
-  # correct the gnerated file to remove the wrong path (because $pkgdir/usr/bin is written in the file)
-  sed -i "s#$pkgdir##g" $pkgdir/usr/bin/paintown
-  install -m644 $srcdir/paintown.desktop $pkgdir/usr/share/applications/paintown.desktop
-  install -m644 $srcdir/paintown.png $pkgdir/usr/share/pixmaps/paintown.png
-  install -m644 LICENSE $pkgdir/usr/share/licenses/paintown/LICENSE
-  install -m644 LEGAL $pkgdir/usr/share/licenses/paintown/LEGAL
-}
-
-# vim:set ts=2 sw=2 et:

Copied: paintown/repos/community-i686/PKGBUILD (from rev 108289, paintown/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2014-03-26 09:45:53 UTC (rev 108290)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Jschares <jacob.schares at gmail.com>
+# Contributor: celmir <scibecelmir at tuxfamily.org>
+# Contributor: Feufochmar <guill.delacourt at gmail.com>
+
+pkgname=paintown
+pkgver=3.6.0
+pkgrel=3
+pkgdesc="Open source fighting game in the same genre as Streets of Rage and Teenage Mutant Ninja Turtles"
+arch=('i686' 'x86_64')
+url="http://paintown.sourceforge.net/"
+license=('GPL')
+depends=('python2' 'freetype2' 'sdl' 'libpng' 'mpg123' 'libogg' 'libvorbis')
+makedepends=('cmake')
+#install=paintown.install
+source=(http://downloads.sourceforge.net/sourceforge/paintown/$pkgname-$pkgver.tar.bz2)
+md5sums=('5c1160bee51fe2011a1141c490a5d368')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  # fix python2 header
+  for file in $(find . -name '*.py' -print); do
+     sed -i "s#/usr/bin/python#/usr/bin/env python2#" $file
+  done
+
+  sed -i "s/find_package(FREETYPE)/find_package(Freetype)/g" CMakeLists.txt
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  mkdir -p build && cd build
+  cmake -DFREETYPE_INCLUDE_DIR=/usr/include/freetype2 ..
+  make
+  cp bin/paintown ..
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  mkdir -p $pkgdir/usr/{bin,share/{paintown,pixmaps,applications,licenses/paintown}}
+  sh install.sh -d $pkgdir/usr/share/paintown -b $pkgdir/usr/bin
+  # correct the gnerated file to remove the wrong path (because $pkgdir/usr/bin is written in the file)
+  sed -i "s#$pkgdir##g" $pkgdir/usr/bin/paintown
+  install -m644 misc/paintown.desktop $pkgdir/usr/share/applications/paintown.desktop
+  install -m644 misc/logo-256x256.png $pkgdir/usr/share/pixmaps/paintown.png
+  install -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+  install -m644 LEGAL $pkgdir/usr/share/licenses/$pkgname/LEGAL
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: community-i686/paintown.desktop
===================================================================
--- community-i686/paintown.desktop	2014-03-26 09:45:42 UTC (rev 108289)
+++ community-i686/paintown.desktop	2014-03-26 09:45:53 UTC (rev 108290)
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Type=Application
-Name=Paintown
-Comment=Open source fighting game in the same genre as Streets of Rage and Teenage Mutant Ninja Turtles
-Exec=paintown
-Icon=paintown
-Terminal=false
-StartupNotify=false
-Categories=Application;Game;ArcadeGame;

Deleted: community-i686/paintown.png
===================================================================
(Binary files differ)

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2014-03-26 09:45:42 UTC (rev 108289)
+++ community-x86_64/PKGBUILD	2014-03-26 09:45:53 UTC (rev 108290)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Jschares <jacob.schares at gmail.com>
-# Contributor: celmir <scibecelmir at tuxfamily.org>
-# Contributor: Feufochmar <guill.delacourt at gmail.com>
-
-pkgname=paintown
-pkgver=3.6.0
-pkgrel=2
-pkgdesc="Open source fighting game in the same genre as Streets of Rage and Teenage Mutant Ninja Turtles"
-arch=('i686' 'x86_64')
-url="http://paintown.sourceforge.net/"
-license=('GPL')
-depends=('python2' 'freetype2' 'sdl' 'libpng' 'mpg123' 'libogg' 'libvorbis')
-makedepends=('cmake')
-#install=paintown.install
-source=(http://downloads.sourceforge.net/sourceforge/paintown/$pkgname-$pkgver.tar.bz2
-        paintown.png
-        paintown.desktop)
-md5sums=('5c1160bee51fe2011a1141c490a5d368'
-         'ed547f1377212ea079cf9b0a1ad2d587'
-         '30d66c53c3f522eedab8a0125123b53f')
-
-build() {
-  cd "$pkgname-$pkgver"
-
-  # fix python2 header
-  for file in $(find . -name '*.py' -print); do
-     sed -i "s#/usr/bin/python#/usr/bin/env python2#" $file
-  done
-
-  mkdir -p build && cd build
-  cmake ..
-  make
-  cp bin/paintown ..
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  mkdir -p $pkgdir/usr/{bin,share/{paintown,pixmaps,applications,licenses/paintown}}
-  sh install.sh -d $pkgdir/usr/share/paintown -b $pkgdir/usr/bin
-  # correct the gnerated file to remove the wrong path (because $pkgdir/usr/bin is written in the file)
-  sed -i "s#$pkgdir##g" $pkgdir/usr/bin/paintown
-  install -m644 $srcdir/paintown.desktop $pkgdir/usr/share/applications/paintown.desktop
-  install -m644 $srcdir/paintown.png $pkgdir/usr/share/pixmaps/paintown.png
-  install -m644 LICENSE $pkgdir/usr/share/licenses/paintown/LICENSE
-  install -m644 LEGAL $pkgdir/usr/share/licenses/paintown/LEGAL
-}
-
-# vim:set ts=2 sw=2 et:

Copied: paintown/repos/community-x86_64/PKGBUILD (from rev 108289, paintown/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2014-03-26 09:45:53 UTC (rev 108290)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Jschares <jacob.schares at gmail.com>
+# Contributor: celmir <scibecelmir at tuxfamily.org>
+# Contributor: Feufochmar <guill.delacourt at gmail.com>
+
+pkgname=paintown
+pkgver=3.6.0
+pkgrel=3
+pkgdesc="Open source fighting game in the same genre as Streets of Rage and Teenage Mutant Ninja Turtles"
+arch=('i686' 'x86_64')
+url="http://paintown.sourceforge.net/"
+license=('GPL')
+depends=('python2' 'freetype2' 'sdl' 'libpng' 'mpg123' 'libogg' 'libvorbis')
+makedepends=('cmake')
+#install=paintown.install
+source=(http://downloads.sourceforge.net/sourceforge/paintown/$pkgname-$pkgver.tar.bz2)
+md5sums=('5c1160bee51fe2011a1141c490a5d368')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+
+  # fix python2 header
+  for file in $(find . -name '*.py' -print); do
+     sed -i "s#/usr/bin/python#/usr/bin/env python2#" $file
+  done
+
+  sed -i "s/find_package(FREETYPE)/find_package(Freetype)/g" CMakeLists.txt
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+
+  mkdir -p build && cd build
+  cmake -DFREETYPE_INCLUDE_DIR=/usr/include/freetype2 ..
+  make
+  cp bin/paintown ..
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  mkdir -p $pkgdir/usr/{bin,share/{paintown,pixmaps,applications,licenses/paintown}}
+  sh install.sh -d $pkgdir/usr/share/paintown -b $pkgdir/usr/bin
+  # correct the gnerated file to remove the wrong path (because $pkgdir/usr/bin is written in the file)
+  sed -i "s#$pkgdir##g" $pkgdir/usr/bin/paintown
+  install -m644 misc/paintown.desktop $pkgdir/usr/share/applications/paintown.desktop
+  install -m644 misc/logo-256x256.png $pkgdir/usr/share/pixmaps/paintown.png
+  install -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+  install -m644 LEGAL $pkgdir/usr/share/licenses/$pkgname/LEGAL
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: community-x86_64/paintown.desktop
===================================================================
--- community-x86_64/paintown.desktop	2014-03-26 09:45:42 UTC (rev 108289)
+++ community-x86_64/paintown.desktop	2014-03-26 09:45:53 UTC (rev 108290)
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Type=Application
-Name=Paintown
-Comment=Open source fighting game in the same genre as Streets of Rage and Teenage Mutant Ninja Turtles
-Exec=paintown
-Icon=paintown
-Terminal=false
-StartupNotify=false
-Categories=Application;Game;ArcadeGame;

Deleted: community-x86_64/paintown.png
===================================================================
(Binary files differ)




More information about the arch-commits mailing list