summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmos Wenger2018-12-17 19:04:56 +0100
committerAmos Wenger2018-12-17 19:04:56 +0100
commit8395bdd2b5a79d55ae219f89a50aa9f4ed2643de (patch)
tree51d91bcddaeebff2d093489da8e91edd9cf244d1
parentd4245eb21a69a243ee631c475b79084570fecef8 (diff)
downloadaur-8395bdd2b5a79d55ae219f89a50aa9f4ed2643de.tar.gz
Increase epoch, use source array to download kitch-setup instead
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD14
2 files changed, 11 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8e6d7a1eb23..9fb369e254c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,8 @@
pkgbase = itch
pkgdesc = The best way to play itch.io games.
pkgver = 1.14.0
- pkgrel = 2
+ pkgrel = 3
+ epoch = 1
url = https://github.com/itchio/itch
install = itch.install
arch = i686
@@ -20,7 +21,9 @@ pkgbase = itch
depends = gtk3
options = !strip
source = https://github.com/itchio/itch/archive/v25.4.0.tar.gz
+ source = itch-setup::https://broth.itch.ovh/itch-setup/linux-amd64/1.14.0/unpacked/default
sha256sums = e86c70044c7d02754c6e52fb428d1278678d729c77b8359b5d82198595da1351
+ sha256sums = b68249a309aff7e929bb2579ba9114dc2369535ce3cdbcf926f9b2ced2f2368b
pkgname = itch
diff --git a/PKGBUILD b/PKGBUILD
index 4bce2209579..4de887b6313 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,8 @@
pkgname=itch
pkgver=1.14.0
-pkgrel=2
+pkgrel=3
+epoch=1
pkgdesc="The best way to play itch.io games."
arch=('i686' 'x86_64')
@@ -17,12 +18,11 @@ install="itch.install"
[ "$CARCH" = "i686" ] && _ITCH_ARCH=386;
[ "$CARCH" = "x86_64" ] && _ITCH_ARCH=amd64;
-source=("https://github.com/itchio/itch/archive/v25.4.0.tar.gz")
-sha256sums=('e86c70044c7d02754c6e52fb428d1278678d729c77b8359b5d82198595da1351')
-
-prepare() {
- curl --fail --location --output itch-setup "https://broth.itch.ovh/itch-setup/linux-${_ITCH_ARCH}/${pkgver}/unpacked/default"
-}
+source=(
+ "https://github.com/itchio/itch/archive/v25.4.0.tar.gz"
+ "itch-setup::https://broth.itch.ovh/itch-setup/linux-${_ITCH_ARCH}/${pkgver}/unpacked/default")
+sha256sums=('e86c70044c7d02754c6e52fb428d1278678d729c77b8359b5d82198595da1351'
+ 'b68249a309aff7e929bb2579ba9114dc2369535ce3cdbcf926f9b2ced2f2368b')
package() {
install -Dm755 itch-setup "${pkgdir}/usr/bin/itch-setup"