summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Beste2017-07-16 17:31:05 -0500
committerDan Beste2017-07-16 17:31:05 -0500
commit0959d96db85814cc993079a06a910927f30eed86 (patch)
tree5940c1c364a16758334d588eb6b137ee999cd34f
parent50fc24e56ab3236d17e0056cbbd39b86d43d5862 (diff)
downloadaur-0959d96db85814cc993079a06a910927f30eed86.tar.gz
v2.8.0.10
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD84
2 files changed, 47 insertions, 43 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f7a27033f80..d428828dd45 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = gog-stardew-valley
pkgdesc = You’ve inherited your grandfather’s old farm plot in Stardew Valley. Armed with hand-me-down tools and a few coins, you set out to begin your new life.
- pkgver = 2.6.0.7
+ pkgver = 2.8.0.10
pkgrel = 1
url = http://stardewvalley.net/
arch = i686
@@ -10,11 +10,11 @@ pkgbase = gog-stardew-valley
source = gog-stardew-valley
source = gog-stardew-valley.desktop
source = gog-stardew-valley.profile
- source = gog://gog_stardew_valley_2.6.0.7.sh
+ source = file://gog_stardew_valley_2.8.0.10.sh
sha256sums = 7e03458fab2b426cce514a42663e56efd33d072bd319f513a5c8bdf7f4e09905
sha256sums = ca0fe151f73f5e8b594b226e1b0539655a2d95a7848eb0e43961cb6daa0de2ff
sha256sums = ce77054c463d2ce47c480a6ede84d8410cbcdc12c45518f530b84aaed042eddf
- sha256sums = 4c0ea4455430f18d159f745103f24512d53624ba65745a394be31c2624c49ec9
+ sha256sums = 7158e9867a436209f01b691635414b3bc603c16f83a14616f7a6768600703da5
pkgname = gog-stardew-valley
diff --git a/PKGBUILD b/PKGBUILD
index 3485e9ff59c..386019b9865 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,59 +1,63 @@
# Maintainer: Dan Beste <dan.ray.beste@gmail.com>
-# Thanks to: Ainola for the base PKGBUILD (gog-undertale)
+
+# Notes:
+# + gog:// DLAGENT:
+# - A gog:// DLAGENT can be configured in /etc/makepkg.conf to
+# automatically pull game files from GOG.
+# - https://github.com/Sude-/lgogdownloader
pkgname='gog-stardew-valley'
-pkgver=2.6.0.7
+pkgver=2.8.0.10
pkgrel=1
pkgdesc="You’ve inherited your grandfather’s old farm plot in Stardew Valley. Armed with hand-me-down tools and a few coins, you set out to begin your new life."
url='http://stardewvalley.net/'
license=('custom')
arch=('i686' 'x86_64')
optdepends=(
- 'firejail: Automatically sandbox this application from your OS'
+ 'firejail: Automatically sandbox this application from your OS'
)
source=(
- "${pkgname}"
- "${pkgname}.desktop"
- "${pkgname}.profile"
- "gog://${pkgname//-/_}_${pkgver}.sh"
+ "${pkgname}"
+ "${pkgname}.desktop"
+ "${pkgname}.profile"
+ "file://${pkgname//-/_}_${pkgver}.sh"
)
sha256sums=(
- '7e03458fab2b426cce514a42663e56efd33d072bd319f513a5c8bdf7f4e09905'
- 'ca0fe151f73f5e8b594b226e1b0539655a2d95a7848eb0e43961cb6daa0de2ff'
- 'ce77054c463d2ce47c480a6ede84d8410cbcdc12c45518f530b84aaed042eddf'
- '4c0ea4455430f18d159f745103f24512d53624ba65745a394be31c2624c49ec9'
-)
-DLAGENTS+=(
- "gog::/usr/bin/echo %u Download the GOG file to ${PWD} or set up a gog:// DLAGENT."
+ '7e03458fab2b426cce514a42663e56efd33d072bd319f513a5c8bdf7f4e09905'
+ 'ca0fe151f73f5e8b594b226e1b0539655a2d95a7848eb0e43961cb6daa0de2ff'
+ 'ce77054c463d2ce47c480a6ede84d8410cbcdc12c45518f530b84aaed042eddf'
+ '7158e9867a436209f01b691635414b3bc603c16f83a14616f7a6768600703da5'
)
package() {
- # Install game
- install -d "${pkgdir}/opt/${pkgname}/"
- install -d "${pkgdir}/opt/${pkgname}/support"
- install -d "${pkgdir}/usr/bin/"
- cp -r "data/noarch/game/" "${pkgdir}/opt/${pkgname}/"
+ install -d "${pkgdir}/opt/${pkgname}/"
+ install -d "${pkgdir}/opt/${pkgname}/support/"
+ install -d "${pkgdir}/usr/bin/"
+ install -d "${pkgdir}/usr/share/applications/"
+ install -d "${pkgdir}/usr/share/licenses/${pkgname}/"
+ install -d "${pkgdir}/usr/share/pixmaps/"
- # Desktop integration
- find "${pkgdir}/opt/${pkgname}" -type d -exec chmod 755 {} \;
- install -Dm 755 \
- data/noarch/start.sh \
- "${pkgdir}/opt/${pkgname}/"
- install -Dm 755 \
- data/noarch/support/*.{sh,shlib} -t \
- "${pkgdir}/opt/${pkgname}/support"
+ cp -r data/noarch/game "${pkgdir}/opt/${pkgname}/"
+ find "${pkgdir}/opt/${pkgname}" -type d -exec chmod 755 {} \;
- # Desktop integration
- install -Dm 644 \
- data/noarch/support/icon.png \
- "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
- install -Dm 644 \
- 'data/noarch/docs/End User License Agreement.txt' \
- "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- install -Dm 644 \
- "${srcdir}/${pkgname}.desktop" \
- "${pkgdir}/usr/share/applications/${pkgname}.desktop"
- install -Dm 755 \
- "${srcdir}/${pkgname}" \
- "${pkgdir}/usr/bin/${pkgname}"
+ install -m 755 \
+ "${srcdir}/${pkgname}" \
+ "${pkgdir}/usr/bin/${pkgname}"
+ install -m 755 \
+ data/noarch/start.sh \
+ "${pkgdir}/opt/${pkgname}/"
+ install -m 755 \
+ data/noarch/support/*.{sh,shlib} \
+ "${pkgdir}/opt/${pkgname}/support/"
+ install -m 644 \
+ 'data/noarch/docs/End User License Agreement.txt' \
+ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -m 644 \
+ "data/noarch/support/icon.png" \
+ "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
+ install -m 644 \
+ "${srcdir}/${pkgname}.desktop" \
+ "${pkgdir}/usr/share/applications/${pkgname}.desktop"
}
+
+# vim: ts=2 sw=2 et: