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

Felix Yan felixonmars at archlinux.org
Thu Aug 3 21:33:58 UTC 2017


    Date: Thursday, August 3, 2017 @ 21:33:57
  Author: felixonmars
Revision: 247979

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

Added:
  frogatto/repos/community-staging-i686/
  frogatto/repos/community-staging-i686/PKGBUILD
    (from rev 247978, frogatto/trunk/PKGBUILD)
  frogatto/repos/community-staging-i686/frogatto.desktop
    (from rev 247978, frogatto/trunk/frogatto.desktop)
  frogatto/repos/community-staging-i686/launcher
    (from rev 247978, frogatto/trunk/launcher)
  frogatto/repos/community-staging-x86_64/
  frogatto/repos/community-staging-x86_64/PKGBUILD
    (from rev 247978, frogatto/trunk/PKGBUILD)
  frogatto/repos/community-staging-x86_64/frogatto.desktop
    (from rev 247978, frogatto/trunk/frogatto.desktop)
  frogatto/repos/community-staging-x86_64/launcher
    (from rev 247978, frogatto/trunk/launcher)

-------------------------------------------+
 community-staging-i686/PKGBUILD           |   49 ++++++++++++++++++++++++++++
 community-staging-i686/frogatto.desktop   |   11 ++++++
 community-staging-i686/launcher           |    3 +
 community-staging-x86_64/PKGBUILD         |   49 ++++++++++++++++++++++++++++
 community-staging-x86_64/frogatto.desktop |   11 ++++++
 community-staging-x86_64/launcher         |    3 +
 6 files changed, 126 insertions(+)

Copied: frogatto/repos/community-staging-i686/PKGBUILD (from rev 247978, frogatto/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-08-03 21:33:57 UTC (rev 247979)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Federico CInelli <cinelli at aur.archlinux.org>
+# Contributor: Tom Wambold <tom5760 at gmail.com>
+
+pkgname='frogatto'
+arch=('i686' 'x86_64')
+pkgver=1.3.1
+pkgrel=23
+pkgdesc="An old-school 2d platformer game, starring a certain quixotic frog"
+url="http://www.frogatto.com"
+license=('GPL')
+depends=('git' 'glew' 'sdl' 'sdl_image' 'sdl_ttf' 'sdl_mixer' 'libpng' 'boost-libs' 'frogatto-data' 'ttf-ubuntu-font-family')
+makedepends=('mesa' 'boost')
+source=("$pkgname::git+https://github.com/frogatto/frogatto.git#tag=$pkgver"
+        launcher
+        frogatto.desktop)
+md5sums=('SKIP'
+         '9ed2c9ea59e95fe3c0b3ad49e58f8890'
+         'e31563b04748a39292a59aaad633ff58')
+
+build() {
+  cd "$srcdir/$pkgname"
+
+  sed -i 's/ccache //g' Makefile
+  sed -i 's/-lprofiler//g' Makefile
+  sed -i 's/\.io_service/\.get_io_service/g' src/server.cpp
+  sed -i 's/\%lu\\n/\%zu\\n/g' src/server.cpp
+  sed -i 's/-lboost_regex-mt/-lboost_regex/g' Makefile
+  sed -i 's/-lboost_system-mt/-lboost_system/g' Makefile
+  sed -i 's/-lboost_thread-mt/-lboost_thread/g' Makefile
+  sed -i 's/-lboost_iostreams-mt/-lboost_iostreams/g' Makefile
+  CXXFLAGS="$CXXFLAGS -std=gnu++98" make game server
+}
+
+package() {
+  cd "$srcdir/$pkgname"
+
+  install -Dm 755 "game" "$pkgdir/opt/frogatto/game"
+  install -Dm 755 "server" "$pkgdir/opt/frogatto/server"
+  install -Dm 644 "src/LICENSE" "$pkgdir/usr/share/licenses/frogatto/LICENSE"
+  install -Dm 755 "$srcdir/launcher" "$pkgdir/usr/bin/frogatto"
+  install -Dm 644 "$srcdir/frogatto.desktop" "$pkgdir/usr/share/applications/frogatto.desktop"
+
+  # Make level editor work (FS#37139)
+  ln -s /usr/share/fonts/TTF/UbuntuMono-R.ttf ${pkgdir}/opt/frogatto/
+}
+
+# vim:set ts=2 sw=2 et:

Copied: frogatto/repos/community-staging-i686/frogatto.desktop (from rev 247978, frogatto/trunk/frogatto.desktop)
===================================================================
--- community-staging-i686/frogatto.desktop	                        (rev 0)
+++ community-staging-i686/frogatto.desktop	2017-08-03 21:33:57 UTC (rev 247979)
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Frogatto
+GenericName=Old-school 2D platformer
+Comment=Old-school 2D platformer
+Exec=/usr/bin/frogatto
+Terminal=false
+MultipleArgs=false
+Type=Application
+Icon=/opt/frogatto/images/window-icon.png
+Categories=Game;ArcadeGame

Copied: frogatto/repos/community-staging-i686/launcher (from rev 247978, frogatto/trunk/launcher)
===================================================================
--- community-staging-i686/launcher	                        (rev 0)
+++ community-staging-i686/launcher	2017-08-03 21:33:57 UTC (rev 247979)
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd /opt/frogatto
+exec /opt/frogatto/game $*

Copied: frogatto/repos/community-staging-x86_64/PKGBUILD (from rev 247978, frogatto/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-08-03 21:33:57 UTC (rev 247979)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Federico CInelli <cinelli at aur.archlinux.org>
+# Contributor: Tom Wambold <tom5760 at gmail.com>
+
+pkgname='frogatto'
+arch=('i686' 'x86_64')
+pkgver=1.3.1
+pkgrel=23
+pkgdesc="An old-school 2d platformer game, starring a certain quixotic frog"
+url="http://www.frogatto.com"
+license=('GPL')
+depends=('git' 'glew' 'sdl' 'sdl_image' 'sdl_ttf' 'sdl_mixer' 'libpng' 'boost-libs' 'frogatto-data' 'ttf-ubuntu-font-family')
+makedepends=('mesa' 'boost')
+source=("$pkgname::git+https://github.com/frogatto/frogatto.git#tag=$pkgver"
+        launcher
+        frogatto.desktop)
+md5sums=('SKIP'
+         '9ed2c9ea59e95fe3c0b3ad49e58f8890'
+         'e31563b04748a39292a59aaad633ff58')
+
+build() {
+  cd "$srcdir/$pkgname"
+
+  sed -i 's/ccache //g' Makefile
+  sed -i 's/-lprofiler//g' Makefile
+  sed -i 's/\.io_service/\.get_io_service/g' src/server.cpp
+  sed -i 's/\%lu\\n/\%zu\\n/g' src/server.cpp
+  sed -i 's/-lboost_regex-mt/-lboost_regex/g' Makefile
+  sed -i 's/-lboost_system-mt/-lboost_system/g' Makefile
+  sed -i 's/-lboost_thread-mt/-lboost_thread/g' Makefile
+  sed -i 's/-lboost_iostreams-mt/-lboost_iostreams/g' Makefile
+  CXXFLAGS="$CXXFLAGS -std=gnu++98" make game server
+}
+
+package() {
+  cd "$srcdir/$pkgname"
+
+  install -Dm 755 "game" "$pkgdir/opt/frogatto/game"
+  install -Dm 755 "server" "$pkgdir/opt/frogatto/server"
+  install -Dm 644 "src/LICENSE" "$pkgdir/usr/share/licenses/frogatto/LICENSE"
+  install -Dm 755 "$srcdir/launcher" "$pkgdir/usr/bin/frogatto"
+  install -Dm 644 "$srcdir/frogatto.desktop" "$pkgdir/usr/share/applications/frogatto.desktop"
+
+  # Make level editor work (FS#37139)
+  ln -s /usr/share/fonts/TTF/UbuntuMono-R.ttf ${pkgdir}/opt/frogatto/
+}
+
+# vim:set ts=2 sw=2 et:

Copied: frogatto/repos/community-staging-x86_64/frogatto.desktop (from rev 247978, frogatto/trunk/frogatto.desktop)
===================================================================
--- community-staging-x86_64/frogatto.desktop	                        (rev 0)
+++ community-staging-x86_64/frogatto.desktop	2017-08-03 21:33:57 UTC (rev 247979)
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Frogatto
+GenericName=Old-school 2D platformer
+Comment=Old-school 2D platformer
+Exec=/usr/bin/frogatto
+Terminal=false
+MultipleArgs=false
+Type=Application
+Icon=/opt/frogatto/images/window-icon.png
+Categories=Game;ArcadeGame

Copied: frogatto/repos/community-staging-x86_64/launcher (from rev 247978, frogatto/trunk/launcher)
===================================================================
--- community-staging-x86_64/launcher	                        (rev 0)
+++ community-staging-x86_64/launcher	2017-08-03 21:33:57 UTC (rev 247979)
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd /opt/frogatto
+exec /opt/frogatto/game $*



More information about the arch-commits mailing list