summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSanskritFritz2022-08-19 15:32:46 +0200
committerSanskritFritz2022-08-19 15:32:46 +0200
commit45e1dd339105aff268b0c71872ac277132bba0d0 (patch)
treed6ab640e66c55722ffa858896b6a0457ba2635c8
parentaab889b8921034caf4d850d313d9ce671242d412 (diff)
downloadaur-stencyl.tar.gz
Upstream raised the lib versions, new download location.
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD31
2 files changed, 14 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b697e43133f9..6809a78cffbe 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,22 +1,20 @@
pkgbase = stencyl
pkgdesc = Create amazing games without code.
pkgver = 4.0.4
- pkgrel = 1
+ pkgrel = 2
url = http://www.stencyl.com
arch = x86_64
license = custom
- noextract = Stencyl-64-full.tar.gz
options = !strip
+ source = https://static.stencyl.com/downloads/stencyl/release/4.0.4/Stencyl-4.0.4-linux.tar.gz
source = stencyl
source = stencyl.desktop
source = stencyl.png
source = LICENSE
- source = Stencyl-64-full.tar.gz::http://www.stencyl.com/download/get/lin64/
+ md5sums = 4cffaf180e5038c3c211859b31c295e3
md5sums = e97ff31637ae4f223062269bfce3f8ab
md5sums = 6b52a9ecce3bddda2e77b3884503b888
md5sums = c99ae55db267e86c0936e01662ee12ea
md5sums = 986e231db4a39dd7fa59c93a7e06b7c2
- md5sums = 3c1691239496ca02be97bb9fcd5266b5
pkgname = stencyl
-
diff --git a/PKGBUILD b/PKGBUILD
index 8f08144a4615..a267519e6106 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,35 +2,26 @@
# Contributor: Sander Smid-Merlijn <sander..smid@gmail.com>
pkgname=stencyl
pkgver=4.0.4
-pkgrel=1
+pkgrel=2
pkgdesc='Create amazing games without code.'
-arch=(x86_64)
+arch=('x86_64')
url='http://www.stencyl.com'
license=(custom)
-#depends=()
-#makedepends=()
-#conflicts=()
-#provides=()
options=('!strip')
-#install=
-source=(stencyl
- stencyl.desktop
- stencyl.png
- LICENSE)
-md5sums=('e97ff31637ae4f223062269bfce3f8ab'
+source=("https://static.stencyl.com/downloads/stencyl/release/$pkgver/Stencyl-$pkgver-linux.tar.gz"
+ "stencyl"
+ "stencyl.desktop"
+ "stencyl.png"
+ "LICENSE")
+md5sums=('4cffaf180e5038c3c211859b31c295e3'
+ 'e97ff31637ae4f223062269bfce3f8ab'
'6b52a9ecce3bddda2e77b3884503b888'
'c99ae55db267e86c0936e01662ee12ea'
'986e231db4a39dd7fa59c93a7e06b7c2')
-archive="Stencyl-64-full.tar.gz"
-source+=("$archive::http://www.stencyl.com/download/get/lin64/")
-md5sums+=('3c1691239496ca02be97bb9fcd5266b5')
-noextract=("$archive")
-
package() {
- # Uncompress the source into the final directory
- install -Ddm755 "$pkgdir"/usr/share/stencyl
- tar -xzf "$srcdir/$archive" -C "$pkgdir"/usr/share/stencyl/
+ install -Ddm755 "$pkgdir"/usr/share
+ cp -r "Stencyl-$pkgver-linux" "$pkgdir"/usr/share/stencyl
# Install the custom launch script, the .desktop and the icon
install -Dm755 "$srcdir/stencyl" "$pkgdir/usr/bin/stencyl"