[arch-commits] Commit in frogatto/repos (4 files)
Sven-Hendrik Haase
svenstaro at archlinux.org
Fri Dec 29 02:18:52 UTC 2017
Date: Friday, December 29, 2017 @ 02:18:42
Author: svenstaro
Revision: 276766
archrelease: copy trunk to community-staging-x86_64
Added:
frogatto/repos/community-staging-x86_64/
frogatto/repos/community-staging-x86_64/PKGBUILD
(from rev 276765, frogatto/trunk/PKGBUILD)
frogatto/repos/community-staging-x86_64/frogatto.desktop
(from rev 276765, frogatto/trunk/frogatto.desktop)
frogatto/repos/community-staging-x86_64/launcher
(from rev 276765, frogatto/trunk/launcher)
------------------+
PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
frogatto.desktop | 11 +++++++++++
launcher | 3 +++
3 files changed, 63 insertions(+)
Copied: frogatto/repos/community-staging-x86_64/PKGBUILD (from rev 276765, frogatto/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-12-29 02:18:42 UTC (rev 276766)
@@ -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=('x86_64')
+pkgver=1.3.1
+pkgrel=25
+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-$pkgver.tgz::https://github.com/frogatto/frogatto/archive/$pkgver.tar.gz"
+ launcher
+ frogatto.desktop)
+md5sums=('f3206fbe1395ea2878092fbd4ed2c591'
+ '9ed2c9ea59e95fe3c0b3ad49e58f8890'
+ 'e31563b04748a39292a59aaad633ff58')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ 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-$pkgver"
+
+ 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 276765, frogatto/trunk/frogatto.desktop)
===================================================================
--- community-staging-x86_64/frogatto.desktop (rev 0)
+++ community-staging-x86_64/frogatto.desktop 2017-12-29 02:18:42 UTC (rev 276766)
@@ -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 276765, frogatto/trunk/launcher)
===================================================================
--- community-staging-x86_64/launcher (rev 0)
+++ community-staging-x86_64/launcher 2017-12-29 02:18:42 UTC (rev 276766)
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd /opt/frogatto
+exec /opt/frogatto/game $*
More information about the arch-commits
mailing list