summaryrefslogtreecommitdiff
path: root/libre/abuse
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-02-01 14:14:13 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-02-01 14:14:13 -0300
commitc0d7ae291f5837d8a821d751840be16a04b59d6a (patch)
tree65f616e01367cbd3fc99637330d92168d0e8a92f /libre/abuse
parentf63b699faaeb3bf2603c73b9d6f83177dc96189e (diff)
downloadabslibre-c0d7ae291f5837d8a821d751840be16a04b59d6a.tar.gz
abslibre-c0d7ae291f5837d8a821d751840be16a04b59d6a.tar.bz2
abslibre-c0d7ae291f5837d8a821d751840be16a04b59d6a.zip
abuse-0.8-7.parabola1: bump to Arch's revision
Diffstat (limited to 'libre/abuse')
-rw-r--r--libre/abuse/PKGBUILD14
-rw-r--r--libre/abuse/abuse.sh8
2 files changed, 11 insertions, 11 deletions
diff --git a/libre/abuse/PKGBUILD b/libre/abuse/PKGBUILD
index 397151480..b491d5f20 100644
--- a/libre/abuse/PKGBUILD
+++ b/libre/abuse/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 172455 2016-04-28 20:48:42Z arodseth $
+# $Id: PKGBUILD 209637 2017-02-01 12:34:57Z arodseth $
# Maintainer (Arch): Alexander F Rødseth <xyproto@archlinux.org>
# Contributor (Arch): Lukas Fleischer <lfleischer@archlinux.org>
# Contributor (Arch): jlvsimoes <jlvsimoes@oninet.pt>
@@ -9,15 +9,15 @@
pkgname=abuse
_pkgname=$pkgname-libre
pkgver=0.8
-pkgrel=6.parabola2
+pkgrel=7.parabola1
pkgdesc='Side-scroller action game that pits you against ruthless alien killers, without nonfree claudio support'
arch=('x86_64' 'i686' 'armv7h')
url='http://abuse.zoy.org/'
license=('GPL' 'custom')
replaces=($_pkgname)
conflicts=($_pkgname)
-depends=('gcc-libs' 'libgl' 'sdl_mixer' 'glu' 'desktop-file-utils')
-makedepends=('gendesk' 'mesa-libgl' 'glu')
+depends=('desktop-file-utils' 'gcc-libs' 'glu' 'libgl' 'sdl_mixer')
+makedepends=('gendesk' 'glu' 'mesa-libgl')
mksource=("http://$pkgname.zoy.org/raw-attachment/wiki/download/$pkgname-$pkgver.tar.gz")
source=("https://repo.parabola.nu/other/$_pkgname/$_pkgname-$pkgver.tar.gz"
"$pkgname.sh"
@@ -26,7 +26,7 @@ source=("https://repo.parabola.nu/other/$_pkgname/$_pkgname-$pkgver.tar.gz"
'libre.patch')
mksha256sums=('0104db5fd2695c9518583783f7aaa7e5c0355e27c5a803840a05aef97f9d3488')
sha256sums=('8f77e8020bf17b10d8a5269d7d4d9bc3592f961ce352672ce183e1f41efc956b'
- 'a5ddac71ca9b8c4bb42bdf91393a5fbe3d839ab9a9e9a6362a75dafc2aab122e'
+ '8dcf3b6b6ac419e5ffabc847166917d70ce43af3092c4d651f473947fff0cc7d'
'6ea2fa9e65c10bbcab4432f40d0c7284cb3970835c40c5c00ced14b39ce1b00f'
'13df83fea60918d29d5141cdfbd8d56147c053e88d3701209ae676f46447c2f6'
'7566a3affb01c64ff4f859bcd549661220847e9c62327e71e1d585c0048f90ea')
@@ -43,7 +43,7 @@ prepare() {
patch -p1 -i "$srcdir/libre.patch"
- gendesk -n -f --pkgname "$pkgname" --pkgdesc "$pkgdesc"
+ gendesk -f -n --pkgname "$pkgname" --pkgdesc "$pkgdesc"
}
build() {
@@ -63,7 +63,7 @@ package() {
"$pkgdir/usr/share/applications/$pkgname.desktop"
install -Dm644 "doc/$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
- # Sane defaults
+ # Default configuration
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" \
diff --git a/libre/abuse/abuse.sh b/libre/abuse/abuse.sh
index 228bb6f7b..5ffdf9078 100644
--- a/libre/abuse/abuse.sh
+++ b/libre/abuse/abuse.sh
@@ -1,7 +1,6 @@
-#!/bin/sh
-
-# Use sane configuration files, unless they already exists
+#!/bin/bash
+# Copy over sane configuration files, unless they already exists
if [ ! -d $HOME/.abuse ]; then
mkdir -p $HOME/.abuse
fi
@@ -12,4 +11,5 @@ if [ ! -f $HOME/.abuse/gamma.lsp ]; then
cp /usr/share/abuse/default.gamma.lsp $HOME/.abuse/gamma.lsp
fi
-exec /usr/bin/abuse.elf
+# Run abuse
+exec /usr/bin/abuse.elf "$@"