[arch-commits] Commit in abuse/trunk (PKGBUILD abuse.sh)
Alexander Rødseth
arodseth at archlinux.org
Wed Feb 1 12:34:58 UTC 2017
Date: Wednesday, February 1, 2017 @ 12:34:57
Author: arodseth
Revision: 209637
upgpkg: abuse 0.8-7
Modified:
abuse/trunk/PKGBUILD
abuse/trunk/abuse.sh
----------+
PKGBUILD | 12 ++++++------
abuse.sh | 8 ++++----
2 files changed, 10 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-02-01 11:24:06 UTC (rev 209636)
+++ PKGBUILD 2017-02-01 12:34:57 UTC (rev 209637)
@@ -6,19 +6,19 @@
pkgname=abuse
pkgver=0.8
-pkgrel=6
+pkgrel=7
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')
+depends=('desktop-file-utils' 'gcc-libs' 'glu' 'libgl' 'sdl_mixer')
+makedepends=('gendesk' 'glu' 'mesa-libgl')
source=("http://abuse.zoy.org/raw-attachment/wiki/download/$pkgname-$pkgver.tar.gz"
'abuse.sh'
'default.abuserc'
'default.gamma.lsp')
sha256sums=('0104db5fd2695c9518583783f7aaa7e5c0355e27c5a803840a05aef97f9d3488'
- 'a5ddac71ca9b8c4bb42bdf91393a5fbe3d839ab9a9e9a6362a75dafc2aab122e'
+ '8dcf3b6b6ac419e5ffabc847166917d70ce43af3092c4d651f473947fff0cc7d'
'6ea2fa9e65c10bbcab4432f40d0c7284cb3970835c40c5c00ced14b39ce1b00f'
'13df83fea60918d29d5141cdfbd8d56147c053e88d3701209ae676f46447c2f6')
@@ -25,7 +25,7 @@
prepare() {
cd "abuse-$pkgver"
- gendesk -n -f --pkgname "$pkgname" --pkgdesc "$pkgdesc"
+ gendesk -f -n --pkgname "$pkgname" --pkgdesc "$pkgdesc"
}
build() {
@@ -45,7 +45,7 @@
"$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" \
Modified: abuse.sh
===================================================================
--- abuse.sh 2017-02-01 11:24:06 UTC (rev 209636)
+++ abuse.sh 2017-02-01 12:34:57 UTC (rev 209637)
@@ -1,7 +1,6 @@
-#!/bin/sh
+#!/bin/bash
-# Use sane configuration files, unless they already exists
-
+# Copy over sane configuration files, unless they already exists
if [ ! -d $HOME/.abuse ]; then
mkdir -p $HOME/.abuse
fi
@@ -12,4 +11,5 @@
cp /usr/share/abuse/default.gamma.lsp $HOME/.abuse/gamma.lsp
fi
-exec /usr/bin/abuse.elf
+# Run abuse
+exec /usr/bin/abuse.elf "$@"
More information about the arch-commits
mailing list