[arch-commits] Commit in abuse/repos (12 files)
Florian Pritz
bluewind at archlinux.org
Sun Dec 6 18:43:09 UTC 2015
Date: Sunday, December 6, 2015 @ 19:43:08
Author: bluewind
Revision: 149051
archrelease: copy trunk to community-staging-x86_64, community-staging-i686
Added:
abuse/repos/community-staging-i686/
abuse/repos/community-staging-i686/PKGBUILD
(from rev 149050, abuse/trunk/PKGBUILD)
abuse/repos/community-staging-i686/abuse.install
(from rev 149050, abuse/trunk/abuse.install)
abuse/repos/community-staging-i686/abuse.sh
(from rev 149050, abuse/trunk/abuse.sh)
abuse/repos/community-staging-i686/default.abuserc
(from rev 149050, abuse/trunk/default.abuserc)
abuse/repos/community-staging-i686/default.gamma.lsp
(from rev 149050, abuse/trunk/default.gamma.lsp)
abuse/repos/community-staging-x86_64/
abuse/repos/community-staging-x86_64/PKGBUILD
(from rev 149050, abuse/trunk/PKGBUILD)
abuse/repos/community-staging-x86_64/abuse.install
(from rev 149050, abuse/trunk/abuse.install)
abuse/repos/community-staging-x86_64/abuse.sh
(from rev 149050, abuse/trunk/abuse.sh)
abuse/repos/community-staging-x86_64/default.abuserc
(from rev 149050, abuse/trunk/default.abuserc)
abuse/repos/community-staging-x86_64/default.gamma.lsp
(from rev 149050, abuse/trunk/default.gamma.lsp)
--------------------------------------------+
community-staging-i686/PKGBUILD | 62 +++++++++++++++++++++++++++
community-staging-i686/abuse.install | 13 +++++
community-staging-i686/abuse.sh | 15 ++++++
community-staging-i686/default.abuserc | 37 ++++++++++++++++
community-staging-i686/default.gamma.lsp | 1
community-staging-x86_64/PKGBUILD | 62 +++++++++++++++++++++++++++
community-staging-x86_64/abuse.install | 13 +++++
community-staging-x86_64/abuse.sh | 15 ++++++
community-staging-x86_64/default.abuserc | 37 ++++++++++++++++
community-staging-x86_64/default.gamma.lsp | 1
10 files changed, 256 insertions(+)
Copied: abuse/repos/community-staging-i686/PKGBUILD (from rev 149050, abuse/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-06 18:43:08 UTC (rev 149051)
@@ -0,0 +1,62 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: jlvsimoes <jlvsimoes at oninet.pt>
+# Contributor: kevin <kevin at archlinux.org>
+
+pkgname=abuse
+pkgver=0.8
+pkgrel=5
+pkgdesc='Side-scroller action game that pits you against ruthless alien killers'
+arch=('x86_64' 'i686')
+url='http://abuse.zoy.org/'
+license=('GPL' 'custom')
+depends=('gcc-libs' 'libgl' 'sdl_mixer' 'glu' 'desktop-file-utils')
+makedepends=('gendesk' 'mesa-libgl' 'glu')
+install="$pkgname.install"
+source=("http://abuse.zoy.org/raw-attachment/wiki/download/$pkgname-$pkgver.tar.gz"
+ 'abuse.sh'
+ 'default.abuserc'
+ 'default.gamma.lsp')
+sha256sums=('0104db5fd2695c9518583783f7aaa7e5c0355e27c5a803840a05aef97f9d3488'
+ 'a5ddac71ca9b8c4bb42bdf91393a5fbe3d839ab9a9e9a6362a75dafc2aab122e'
+ '6ea2fa9e65c10bbcab4432f40d0c7284cb3970835c40c5c00ced14b39ce1b00f'
+ '13df83fea60918d29d5141cdfbd8d56147c053e88d3701209ae676f46447c2f6')
+
+prepare() {
+ cd "abuse-$pkgver"
+
+ gendesk -n -f --pkgname "$pkgname" --pkgdesc "$pkgdesc"
+}
+
+build() {
+ cd "abuse-$pkgver"
+
+ ./configure --prefix=/usr --with-assetdir="/usr/share/$pkgname/orig" --with-x
+ make
+}
+
+package() {
+ cd "abuse-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+
+ # Desktop shortcut and icon
+ install -Dm644 "$pkgname.desktop" \
+ "$pkgdir/usr/share/applications/$pkgname.desktop"
+ install -Dm644 "doc/$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
+
+ # Sane defaults
+ mv "$pkgdir/usr/bin/$pkgname" "$pkgdir/usr/bin/$pkgname.elf"
+ install -Dm755 "$srcdir/$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
+ install -Dm644 "$srcdir/default.${pkgname}rc" \
+ "$pkgdir/usr/share/$pkgname/default.${pkgname}rc"
+ install -Dm644 "$srcdir/default.gamma.lsp" \
+ "$pkgdir/usr/share/$pkgname/default.gamma.lsp"
+
+ # License (for the original source code)
+ install -d "$pkgdir/usr/share/licenses/abuse"
+ sed -n '1,/^$/p' src/view.cpp > "$pkgdir/usr/share/licenses/abuse/original"
+}
+
+# vim:set ts=2 sw=2 et:
Copied: abuse/repos/community-staging-i686/abuse.install (from rev 149050, abuse/trunk/abuse.install)
===================================================================
--- community-staging-i686/abuse.install (rev 0)
+++ community-staging-i686/abuse.install 2015-12-06 18:43:08 UTC (rev 149051)
@@ -0,0 +1,13 @@
+post_upgrade() {
+ update-desktop-database -q
+}
+
+post_install() {
+ post_upgrade
+}
+
+post_remove() {
+ post_upgrade
+}
+
+# vim:set ts=2 sw=2 et:
Copied: abuse/repos/community-staging-i686/abuse.sh (from rev 149050, abuse/trunk/abuse.sh)
===================================================================
--- community-staging-i686/abuse.sh (rev 0)
+++ community-staging-i686/abuse.sh 2015-12-06 18:43:08 UTC (rev 149051)
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+# Use sane configuration files, unless they already exists
+
+if [ ! -d $HOME/.abuse ]; then
+ mkdir -p $HOME/.abuse
+fi
+if [ ! -f $HOME/.abuse/abuserc ]; then
+ cp /usr/share/abuse/default.abuserc $HOME/.abuse/abuserc
+fi
+if [ ! -f $HOME/.abuse/gamma.lsp ]; then
+ cp /usr/share/abuse/default.gamma.lsp $HOME/.abuse/gamma.lsp
+fi
+
+exec /usr/bin/abuse.elf
Copied: abuse/repos/community-staging-i686/default.abuserc (from rev 149050, abuse/trunk/default.abuserc)
===================================================================
--- community-staging-i686/default.abuserc (rev 0)
+++ community-staging-i686/default.abuserc 2015-12-06 18:43:08 UTC (rev 149051)
@@ -0,0 +1,37 @@
+; Abuse-SDL Configuration file
+
+; Startup fullscreen
+fullscreen=0
+
+; Use DoubleBuffering
+doublebuf=1
+
+; Use OpenGL
+gl=1
+
+; Location of the datafiles
+datadir=/usr/share/abuse/orig
+
+; Use mono audio only
+mono=0
+
+; Grab the mouse to the window
+grabmouse=0
+
+; Set the scale factor
+scale=2
+
+; Use anti-aliasing (with gl=1 only)
+antialias=0
+
+; Disable the SDL parachute in the case of a crash
+nosdlparachute=0
+
+; Key mappings
+left=a
+right=d
+up=w
+down=s
+fire=Space
+weapprev=q
+weapnext=e
Copied: abuse/repos/community-staging-i686/default.gamma.lsp (from rev 149050, abuse/trunk/default.gamma.lsp)
===================================================================
--- community-staging-i686/default.gamma.lsp (rev 0)
+++ community-staging-i686/default.gamma.lsp 2015-12-06 18:43:08 UTC (rev 149051)
@@ -0,0 +1 @@
+(setq darkest_gray 20)
Copied: abuse/repos/community-staging-x86_64/PKGBUILD (from rev 149050, abuse/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-12-06 18:43:08 UTC (rev 149051)
@@ -0,0 +1,62 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: jlvsimoes <jlvsimoes at oninet.pt>
+# Contributor: kevin <kevin at archlinux.org>
+
+pkgname=abuse
+pkgver=0.8
+pkgrel=5
+pkgdesc='Side-scroller action game that pits you against ruthless alien killers'
+arch=('x86_64' 'i686')
+url='http://abuse.zoy.org/'
+license=('GPL' 'custom')
+depends=('gcc-libs' 'libgl' 'sdl_mixer' 'glu' 'desktop-file-utils')
+makedepends=('gendesk' 'mesa-libgl' 'glu')
+install="$pkgname.install"
+source=("http://abuse.zoy.org/raw-attachment/wiki/download/$pkgname-$pkgver.tar.gz"
+ 'abuse.sh'
+ 'default.abuserc'
+ 'default.gamma.lsp')
+sha256sums=('0104db5fd2695c9518583783f7aaa7e5c0355e27c5a803840a05aef97f9d3488'
+ 'a5ddac71ca9b8c4bb42bdf91393a5fbe3d839ab9a9e9a6362a75dafc2aab122e'
+ '6ea2fa9e65c10bbcab4432f40d0c7284cb3970835c40c5c00ced14b39ce1b00f'
+ '13df83fea60918d29d5141cdfbd8d56147c053e88d3701209ae676f46447c2f6')
+
+prepare() {
+ cd "abuse-$pkgver"
+
+ gendesk -n -f --pkgname "$pkgname" --pkgdesc "$pkgdesc"
+}
+
+build() {
+ cd "abuse-$pkgver"
+
+ ./configure --prefix=/usr --with-assetdir="/usr/share/$pkgname/orig" --with-x
+ make
+}
+
+package() {
+ cd "abuse-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+
+ # Desktop shortcut and icon
+ install -Dm644 "$pkgname.desktop" \
+ "$pkgdir/usr/share/applications/$pkgname.desktop"
+ install -Dm644 "doc/$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
+
+ # Sane defaults
+ mv "$pkgdir/usr/bin/$pkgname" "$pkgdir/usr/bin/$pkgname.elf"
+ install -Dm755 "$srcdir/$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
+ install -Dm644 "$srcdir/default.${pkgname}rc" \
+ "$pkgdir/usr/share/$pkgname/default.${pkgname}rc"
+ install -Dm644 "$srcdir/default.gamma.lsp" \
+ "$pkgdir/usr/share/$pkgname/default.gamma.lsp"
+
+ # License (for the original source code)
+ install -d "$pkgdir/usr/share/licenses/abuse"
+ sed -n '1,/^$/p' src/view.cpp > "$pkgdir/usr/share/licenses/abuse/original"
+}
+
+# vim:set ts=2 sw=2 et:
Copied: abuse/repos/community-staging-x86_64/abuse.install (from rev 149050, abuse/trunk/abuse.install)
===================================================================
--- community-staging-x86_64/abuse.install (rev 0)
+++ community-staging-x86_64/abuse.install 2015-12-06 18:43:08 UTC (rev 149051)
@@ -0,0 +1,13 @@
+post_upgrade() {
+ update-desktop-database -q
+}
+
+post_install() {
+ post_upgrade
+}
+
+post_remove() {
+ post_upgrade
+}
+
+# vim:set ts=2 sw=2 et:
Copied: abuse/repos/community-staging-x86_64/abuse.sh (from rev 149050, abuse/trunk/abuse.sh)
===================================================================
--- community-staging-x86_64/abuse.sh (rev 0)
+++ community-staging-x86_64/abuse.sh 2015-12-06 18:43:08 UTC (rev 149051)
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+# Use sane configuration files, unless they already exists
+
+if [ ! -d $HOME/.abuse ]; then
+ mkdir -p $HOME/.abuse
+fi
+if [ ! -f $HOME/.abuse/abuserc ]; then
+ cp /usr/share/abuse/default.abuserc $HOME/.abuse/abuserc
+fi
+if [ ! -f $HOME/.abuse/gamma.lsp ]; then
+ cp /usr/share/abuse/default.gamma.lsp $HOME/.abuse/gamma.lsp
+fi
+
+exec /usr/bin/abuse.elf
Copied: abuse/repos/community-staging-x86_64/default.abuserc (from rev 149050, abuse/trunk/default.abuserc)
===================================================================
--- community-staging-x86_64/default.abuserc (rev 0)
+++ community-staging-x86_64/default.abuserc 2015-12-06 18:43:08 UTC (rev 149051)
@@ -0,0 +1,37 @@
+; Abuse-SDL Configuration file
+
+; Startup fullscreen
+fullscreen=0
+
+; Use DoubleBuffering
+doublebuf=1
+
+; Use OpenGL
+gl=1
+
+; Location of the datafiles
+datadir=/usr/share/abuse/orig
+
+; Use mono audio only
+mono=0
+
+; Grab the mouse to the window
+grabmouse=0
+
+; Set the scale factor
+scale=2
+
+; Use anti-aliasing (with gl=1 only)
+antialias=0
+
+; Disable the SDL parachute in the case of a crash
+nosdlparachute=0
+
+; Key mappings
+left=a
+right=d
+up=w
+down=s
+fire=Space
+weapprev=q
+weapnext=e
Copied: abuse/repos/community-staging-x86_64/default.gamma.lsp (from rev 149050, abuse/trunk/default.gamma.lsp)
===================================================================
--- community-staging-x86_64/default.gamma.lsp (rev 0)
+++ community-staging-x86_64/default.gamma.lsp 2015-12-06 18:43:08 UTC (rev 149051)
@@ -0,0 +1 @@
+(setq darkest_gray 20)
More information about the arch-commits
mailing list