summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPipat Saengow2017-04-11 21:43:31 +0700
committerPipat Saengow2017-04-11 21:43:31 +0700
commitb1e7a83aee8596e43d99342b1a4793244c89a923 (patch)
tree1817301f067640331c81ea0bd9695555dce4cf9f
parentb6974729a6667aa662e996d0445e2d6f675ff9b4 (diff)
downloadaur-b1e7a83aee8596e43d99342b1a4793244c89a923.tar.gz
Update to version 0.9.4
-rw-r--r--.SRCINFO6
-rw-r--r--INJECTION_0.9.3_src.zip.md51
-rw-r--r--INJECTION_0.9.4_src.zip.md51
-rw-r--r--PKGBUILD10
4 files changed, 10 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6cf778cf82c4..4fbf37c1f217 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = injection
pkgdesc = A Python-based ASCII programming-puzzle game.
- pkgver = 0.9.3
+ pkgver = 0.9.4
pkgrel = 1
url = https://schilcote.itch.io/injection
arch = i686
@@ -19,11 +19,11 @@ pkgbase = injection
source = injection.sh
source = injection.desktop
source = icon.png
- source = INJECTION_0.9.3_src.zip.md5
+ source = INJECTION_0.9.4_src.zip.md5
md5sums = 5f21ca7a8891291e250f5296ba855324
md5sums = cf419413f1dda3dcae7c665c9bb4bf46
md5sums = 2e6543984ecc80ddf57ed822b344e0e1
- md5sums = 24756c3e064541f9db4a42166d582639
+ md5sums = 9c20daa901cc7f1230481dc45185649c
pkgname = injection
diff --git a/INJECTION_0.9.3_src.zip.md5 b/INJECTION_0.9.3_src.zip.md5
deleted file mode 100644
index c171ae73ba57..000000000000
--- a/INJECTION_0.9.3_src.zip.md5
+++ /dev/null
@@ -1 +0,0 @@
-31499a5af4c7b2d859f8d1866bce302f INJECTION_0.9.3_src.zip
diff --git a/INJECTION_0.9.4_src.zip.md5 b/INJECTION_0.9.4_src.zip.md5
new file mode 100644
index 000000000000..d1c6fbb5db0c
--- /dev/null
+++ b/INJECTION_0.9.4_src.zip.md5
@@ -0,0 +1 @@
+f0ffcb2126d6d410b11cc3991bfaa3bf INJECTION_0.9.4_src.zip
diff --git a/PKGBUILD b/PKGBUILD
index 243719e6b9bb..63587801955e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: pigt <pay2630 at gmail dot com>
pkgname=injection
-pkgver=0.9.3
+pkgver=0.9.4
pkgrel=1
pkgdesc="A Python-based ASCII programming-puzzle game."
arch=('i686' 'x86_64')
@@ -12,20 +12,22 @@ source=(injection.sh injection.desktop icon.png INJECTION_${pkgver}_src.zip.md5)
md5sums=('5f21ca7a8891291e250f5296ba855324'
'cf419413f1dda3dcae7c665c9bb4bf46'
'2e6543984ecc80ddf57ed822b344e0e1'
- '24756c3e064541f9db4a42166d582639')
+ '9c20daa901cc7f1230481dc45185649c')
-_release_url="https://schilcote.itch.io/injection/file/270829?after_download_lightbox=true"
+_release_url="https://schilcote.itch.io/injection/file/309125?after_download_lightbox=true"
prepare() {
#Download url always changing to prevent hotlink. So we must deal with it.
#url extraction code was copied from "after school"'s package.
_dl_url=$(curl -s -XPOST "${_release_url}" | grep -Po '"url":.*?[^\\]",' | cut -c8- | rev |cut -c3- | rev | sed 's/\\\//\//g')
+ echo "Downloading from $_dl_url"
if [ ! -f INJECTION_${pkgver}_src.zip ]; then
curl "$_dl_url" -o "INJECTION_${pkgver}_src.zip"
fi
md5sum -c INJECTION_${pkgver}_src.zip.md5
unzip INJECTION_${pkgver}_src.zip -d "$pkgname-$pkgver"
- mv $pkgname-$pkgver/INJECTION\ 0.9.3\ src/* "$pkgname-$pkgver"
+ mv $pkgname-$pkgver/INJECTION\ $pkgver\ Python\ 3\ Source/* "$pkgname-$pkgver"
+
}
_python_depends=('pymsgbox' 'pygcurse')