summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2019-02-19 23:08:44 +0100
committerAndreas Grapentin <andreas@grapentin.org>2019-02-19 23:08:44 +0100
commit005d0928c52d42cd1904fd5e7576b97b13d804a8 (patch)
tree8a8cfa337cfd78263f1f5d7b250ed860ba949915
parent6cfe3aa3f84067b0990262b07c71b5806a3493dc (diff)
downloadabslibre-005d0928c52d42cd1904fd5e7576b97b13d804a8.tar.gz
abslibre-005d0928c52d42cd1904fd5e7576b97b13d804a8.tar.bz2
abslibre-005d0928c52d42cd1904fd5e7576b97b13d804a8.zip
pcr/wordwarvi: updated to 1.0.2
-rw-r--r--pcr/wordwarvi/PKGBUILD36
1 files changed, 15 insertions, 21 deletions
diff --git a/pcr/wordwarvi/PKGBUILD b/pcr/wordwarvi/PKGBUILD
index b3e78471d..e3e1348ae 100644
--- a/pcr/wordwarvi/PKGBUILD
+++ b/pcr/wordwarvi/PKGBUILD
@@ -1,33 +1,25 @@
+# Maintainer (AUR): Steffen Weber <-boenki-gmx-de->
+# Contributor (AUR): Anton Bazhenov <anton.bazhenov at gmail>
+# Contributor (AUR): Christopher Rogers <slaxemulator@gmail.com>
+# Contributor (AUR): J. W. Birdsong <jwbirdsong AT gmail DOT com>
# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697
-# (Arch) Maintainer: Steffen Weber <-boenki-gmx-de->
-# (Arch) Contributor: Anton Bazhenov <anton.bazhenov at gmail>
-# (Arch) Contributor: Christopher Rogers <slaxemulator@gmail.com>
-# (Arch) Contributor: J. W. Birdsong <jwbirdsong AT gmail DOT com>
pkgname=wordwarvi
-pkgver=1.00
-pkgrel=2
+pkgver=1.0.2
+pkgrel=1
pkgdesc="Side-scrolling shoot 'em up '80s style arcade game"
arch=('i686' 'x86_64')
-url="http://$pkgname.sourceforge.net"
+url="http://smcameron.github.io/$pkgname"
license=('GPL2' 'custom')
-depends=('gtk2' 'portaudio')
-install=$pkgname.install
-source=(https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
- $pkgname.desktop
- $pkgname.install)
-sha512sums=('e8f8609300fa2f9bd2ff763fee11699c5f30e96ccb3a5d531456134e983148227bb12fb6421b4ad00bcac46cddcdb5a036d416b8e55aedf037d1c3f0b5e04fa9'
- 'cf586621b1391dbd6d57c02f00e76bb1b60773e151069b6741a1883ab36c0407baf2a517455c4a0ce7750a679227d3b8ec2e11f8d8d08a9cf9dcc0fc42175cd5'
- 'c5690d68ef92d7ecf1b20b12c75ae3a2d8b6ee0fb4000a5c447e37daf0bf2c31feaa53cc3e4d6853a755c3fa4998062651ca5791249ca91df800d93c0657efdc')
-
-prepare() {
- cd $pkgname-$pkgver
- sed -i "s,sounds/,/usr/share/$pkgname/sounds/," $pkgname.c
-}
+depends=('gtk2' 'portaudio' 'libvorbis')
+source=($pkgname-$pkgver.tar.gz::https://github.com/smcameron/$pkgname/archive/v$pkgver.tar.gz
+ $pkgname.desktop)
+sha256sums=('361d15af6edbe6db032db24de54e8f489a05b230572a8793b9889e2b8308a7ad'
+ 'c1a1d0eb26ca614a6baa6cf1ba553c678a4712148511e1db0ba52a1bab08236d')
build() {
cd $pkgname-$pkgver
- make
+ make
}
package() {
@@ -35,6 +27,8 @@ package() {
make DESTDIR="$pkgdir" install
+ mv $pkgdir/usr/games $pkgdir/usr/bin
+
install -Dm644 sounds/Attribution.txt $pkgdir/usr/share/licenses/$pkgname/COPYING_SOUNDS
install -Dm644 ../$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
install -Dm644 icons/wordwarvi_icon_48x48.png $pkgdir/usr/share/pixmaps/$pkgname.png