summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAinola2018-11-07 05:14:59 -0700
committerAinola2018-11-07 05:14:59 -0700
commita27b4d54b87e5f9c8caeed1cb7067cbef5b2e38c (patch)
tree4ab6b4bc48bbbff8509e0cfd23bb0bded60950f6
parentc7b7ec006bd80c629f3ac02dd44b8b2449c25e72 (diff)
downloadaur-creeper-world.tar.gz
PKGBUILD cleanups
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD10
2 files changed, 9 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index af1872f5762..4a14d22b7cd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,7 @@
-# Generated by mksrcinfo v8
-# Sun Sep 9 22:53:42 UTC 2018
pkgbase = creeper-world
pkgdesc = Imagine an enemy that is everywhere and moves like a giant, organic mass.
pkgver = 0632
- pkgrel = 2
+ pkgrel = 3
url = http://knucklecracker.com/creeperworld/cw.php
arch = any
license = custom
@@ -11,7 +9,7 @@ pkgbase = creeper-world
makedepends = gendesk
depends = adobe-air-sdk
noextract = CreeperWorld-0632.exe
- source = http://knucklecracker.com/creeperworld/dd_webb/CreeperWorld-0632.exe
+ source = https://knucklecracker.com/creeperworld/dd_webb/CreeperWorld-0632.exe
source = creeper-world.sh
sha256sums = 6ddfcaa307e36d8761049177de1dbd6c95acc7536c4ff9b2412687e3367e6afc
sha256sums = 809a86452f621dfcb73f1b3b6ef0c2b482315d6f822e14c20ffd720199fc495e
diff --git a/PKGBUILD b/PKGBUILD
index badca9b7e49..a41cae26578 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,21 +3,25 @@
pkgname=creeper-world
pkgver=0632
-pkgrel=2
+pkgrel=3
pkgdesc="Imagine an enemy that is everywhere and moves like a giant, organic mass."
arch=('any')
url="http://knucklecracker.com/creeperworld/cw.php"
license=('custom')
depends=('adobe-air-sdk')
makedepends=('unzip' 'gendesk')
-source=("http://knucklecracker.com/creeperworld/dd_webb/CreeperWorld-${pkgver}.exe"
+source=("https://knucklecracker.com/creeperworld/dd_webb/CreeperWorld-$pkgver.exe"
"creeper-world.sh")
noextract=("CreeperWorld-${pkgver}.exe")
sha256sums=('6ddfcaa307e36d8761049177de1dbd6c95acc7536c4ff9b2412687e3367e6afc'
'809a86452f621dfcb73f1b3b6ef0c2b482315d6f822e14c20ffd720199fc495e')
prepare() {
- gendesk -n ../PKGBUILD
+ gendesk -n --pkgname="$pkgname" \
+ --name="Creeper World" \
+ --pkgdesc="$pkgdesc" \
+ --exec=/usr/bin/creeper-world \
+ --categories='Game'
unzip -o "CreeperWorld-${pkgver}.exe"
unzip -o "CreeperWorld-${pkgver}.air"
}