[arch-commits] Commit in blobby2/repos (10 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Sun Dec 6 17:28:32 UTC 2015
Date: Sunday, December 6, 2015 @ 18:28:31
Author: bpiotrowski
Revision: 148976
archrelease: copy trunk to community-staging-x86_64, community-staging-i686
Added:
blobby2/repos/community-staging-i686/
blobby2/repos/community-staging-i686/PKGBUILD
(from rev 148975, blobby2/trunk/PKGBUILD)
blobby2/repos/community-staging-i686/blobby2.desktop
(from rev 148975, blobby2/trunk/blobby2.desktop)
blobby2/repos/community-staging-i686/blobby2.png
(from rev 148975, blobby2/trunk/blobby2.png)
blobby2/repos/community-staging-i686/ostream-include.patch
(from rev 148975, blobby2/trunk/ostream-include.patch)
blobby2/repos/community-staging-x86_64/
blobby2/repos/community-staging-x86_64/PKGBUILD
(from rev 148975, blobby2/trunk/PKGBUILD)
blobby2/repos/community-staging-x86_64/blobby2.desktop
(from rev 148975, blobby2/trunk/blobby2.desktop)
blobby2/repos/community-staging-x86_64/blobby2.png
(from rev 148975, blobby2/trunk/blobby2.png)
blobby2/repos/community-staging-x86_64/ostream-include.patch
(from rev 148975, blobby2/trunk/ostream-include.patch)
------------------------------------------------+
community-staging-i686/PKGBUILD | 47 +++++++++++++++++++++++
community-staging-i686/blobby2.desktop | 11 +++++
community-staging-i686/ostream-include.patch | 10 ++++
community-staging-x86_64/PKGBUILD | 47 +++++++++++++++++++++++
community-staging-x86_64/blobby2.desktop | 11 +++++
community-staging-x86_64/ostream-include.patch | 10 ++++
6 files changed, 136 insertions(+)
Copied: blobby2/repos/community-staging-i686/PKGBUILD (from rev 148975, blobby2/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-06 17:28:31 UTC (rev 148976)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Urs Wolfer <uwolfer @ fwo.ch>
+
+pkgname=blobby2
+pkgver=1.0
+arch=('x86_64' 'i686')
+pkgrel=2
+pkgdesc="A beach ball game with blobs of goo"
+url="http://sourceforge.net/projects/blobby/"
+license=('GPL')
+depends=('sdl2' 'physfs' 'libgl')
+makedepends=('cmake' 'boost' 'mesa' 'zip')
+source=(http://downloads.sourceforge.net/blobby/$pkgname-linux-$pkgver.tar.gz
+ ostream-include.patch
+ $pkgname.desktop
+ $pkgname.png)
+md5sums=('a6c89ae64693490385fa05c0a01b0a3b'
+ '926f1e5760769548562c2a569fe18196'
+ 'ab05bed794ee78db693fd3036393275a'
+ 'c1bc427b41a0a3facd771ac83c7fb412')
+
+prepare() {
+ cd $srcdir/blobby-$pkgver
+ patch -Np2 -i ../ostream-include.patch # r1542 upstream
+ sed -i "s|data|/usr/share/blobby|g" src/main.cpp
+ sed -i "s|file\(filename\)|file(\"/usr/share/blobby\" + filename|g" src/main.cpp
+}
+
+build() {
+ cd $srcdir/blobby-$pkgver
+ cmake -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd $srcdir/blobby-$pkgver
+
+ make DESTDIR=$pkgdir install
+
+ install -Dm644 data/Icon.bmp ${pkgdir}/usr/share/blobby/Icon.bmp
+
+ # install .desktop file and icon
+ install -dm755 $pkgdir/usr/share/{applications,pixmaps}
+ install -m644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications
+ install -m644 $srcdir/$pkgname.png $pkgdir/usr/share/pixmaps
+}
Copied: blobby2/repos/community-staging-i686/blobby2.desktop (from rev 148975, blobby2/trunk/blobby2.desktop)
===================================================================
--- community-staging-i686/blobby2.desktop (rev 0)
+++ community-staging-i686/blobby2.desktop 2015-12-06 17:28:31 UTC (rev 148976)
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Blobby Volley 2
+Exec=blobby
+Icon=blobby2
+Terminal=false
+Type=Application
+Categories=Game;ArcadeGame;
+StartupNotify=false
+Comment=Volley game with network support
+GenericName=Volley Game
Copied: blobby2/repos/community-staging-i686/blobby2.png (from rev 148975, blobby2/trunk/blobby2.png)
===================================================================
(Binary files differ)
Copied: blobby2/repos/community-staging-i686/ostream-include.patch (from rev 148975, blobby2/trunk/ostream-include.patch)
===================================================================
--- community-staging-i686/ostream-include.patch (rev 0)
+++ community-staging-i686/ostream-include.patch 2015-12-06 17:28:31 UTC (rev 148976)
@@ -0,0 +1,10 @@
+--- a/trunk/src/NetworkMessage.cpp
++++ b/trunk/src/NetworkMessage.cpp
+@@ -23,6 +23,7 @@
+
+ /* includes */
+ #include <cstring>
++#include <ostream>
+
+ #include "UserConfig.h"
+ #include "SpeedController.h"
Copied: blobby2/repos/community-staging-x86_64/PKGBUILD (from rev 148975, blobby2/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-12-06 17:28:31 UTC (rev 148976)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Urs Wolfer <uwolfer @ fwo.ch>
+
+pkgname=blobby2
+pkgver=1.0
+arch=('x86_64' 'i686')
+pkgrel=2
+pkgdesc="A beach ball game with blobs of goo"
+url="http://sourceforge.net/projects/blobby/"
+license=('GPL')
+depends=('sdl2' 'physfs' 'libgl')
+makedepends=('cmake' 'boost' 'mesa' 'zip')
+source=(http://downloads.sourceforge.net/blobby/$pkgname-linux-$pkgver.tar.gz
+ ostream-include.patch
+ $pkgname.desktop
+ $pkgname.png)
+md5sums=('a6c89ae64693490385fa05c0a01b0a3b'
+ '926f1e5760769548562c2a569fe18196'
+ 'ab05bed794ee78db693fd3036393275a'
+ 'c1bc427b41a0a3facd771ac83c7fb412')
+
+prepare() {
+ cd $srcdir/blobby-$pkgver
+ patch -Np2 -i ../ostream-include.patch # r1542 upstream
+ sed -i "s|data|/usr/share/blobby|g" src/main.cpp
+ sed -i "s|file\(filename\)|file(\"/usr/share/blobby\" + filename|g" src/main.cpp
+}
+
+build() {
+ cd $srcdir/blobby-$pkgver
+ cmake -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd $srcdir/blobby-$pkgver
+
+ make DESTDIR=$pkgdir install
+
+ install -Dm644 data/Icon.bmp ${pkgdir}/usr/share/blobby/Icon.bmp
+
+ # install .desktop file and icon
+ install -dm755 $pkgdir/usr/share/{applications,pixmaps}
+ install -m644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications
+ install -m644 $srcdir/$pkgname.png $pkgdir/usr/share/pixmaps
+}
Copied: blobby2/repos/community-staging-x86_64/blobby2.desktop (from rev 148975, blobby2/trunk/blobby2.desktop)
===================================================================
--- community-staging-x86_64/blobby2.desktop (rev 0)
+++ community-staging-x86_64/blobby2.desktop 2015-12-06 17:28:31 UTC (rev 148976)
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Blobby Volley 2
+Exec=blobby
+Icon=blobby2
+Terminal=false
+Type=Application
+Categories=Game;ArcadeGame;
+StartupNotify=false
+Comment=Volley game with network support
+GenericName=Volley Game
Copied: blobby2/repos/community-staging-x86_64/blobby2.png (from rev 148975, blobby2/trunk/blobby2.png)
===================================================================
(Binary files differ)
Copied: blobby2/repos/community-staging-x86_64/ostream-include.patch (from rev 148975, blobby2/trunk/ostream-include.patch)
===================================================================
--- community-staging-x86_64/ostream-include.patch (rev 0)
+++ community-staging-x86_64/ostream-include.patch 2015-12-06 17:28:31 UTC (rev 148976)
@@ -0,0 +1,10 @@
+--- a/trunk/src/NetworkMessage.cpp
++++ b/trunk/src/NetworkMessage.cpp
+@@ -23,6 +23,7 @@
+
+ /* includes */
+ #include <cstring>
++#include <ostream>
+
+ #include "UserConfig.h"
+ #include "SpeedController.h"
More information about the arch-commits
mailing list