Skip to content

Instantly share code, notes, and snippets.

@maksverver

maksverver/PKGBUILD

Created Dec 28, 2019
Embed
What would you like to do?
gog-stardew-valley 1.4.3.379
# Maintainer: Dan Beste <drb@wishalloy.io>
pkgname='gog-stardew-valley'
pkgver=1.4.3.379
pkgrel=1
# Fix upstream versioning shenanigans:
epoch=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=('x86_64')
source=(
"${pkgname}"
"${pkgname}.desktop"
'local:///stardew_valley_1_4_3_379_34693.sh'
'StardewValley'
)
sha256sums=(
'9f51b56b351824493c381731f29175b0897fa0dc4169a9b9160b5a12003883dc'
'ca0fe151f73f5e8b594b226e1b0539655a2d95a7848eb0e43961cb6daa0de2ff'
'aabd5b0ab7ac3813ad89d7344ea52a503483d04e627160113965e4d21293659f'
'0c6826084d72917748e54f9308b7395f8d3780b4a745860839203e2af428d202'
)
package() {
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/"
cp -r data/noarch/game "${pkgdir}/opt/${pkgname}/"
find "${pkgdir}/opt/${pkgname}" -type d -exec chmod 755 {} \;
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"
# Workarounds for upstream silliness:
cd "${pkgdir}/opt/gog-stardew-valley/game"
# Unless i686 is requested, I am only going to support machine architectures
# that I can test with:
ln -s mcs.bin.x86_64 mcs
# Simplified "bootstrapping" script:
install -m 755 "${srcdir}/StardewValley" StardewValley
}
# vim: ts=2 sw=2 et:
--- PKGBUILD.orig 2019-05-01 23:46:06.000000000 +0200
+++ PKGBUILD 2019-12-28 14:17:04.364793106 +0100
@@ -1,7 +1,7 @@
# Maintainer: Dan Beste <drb@wishalloy.io>
pkgname='gog-stardew-valley'
-pkgver=1.3.36
+pkgver=1.4.3.379
pkgrel=1
# Fix upstream versioning shenanigans:
epoch=1
@@ -14,13 +14,13 @@
source=(
"${pkgname}"
"${pkgname}.desktop"
- 'local:///stardew_valley_1_3_36_27827.sh'
+ 'local:///stardew_valley_1_4_3_379_34693.sh'
'StardewValley'
)
sha256sums=(
'9f51b56b351824493c381731f29175b0897fa0dc4169a9b9160b5a12003883dc'
'ca0fe151f73f5e8b594b226e1b0539655a2d95a7848eb0e43961cb6daa0de2ff'
- 'af39d5f9d2c0c8be338af16f73bcd0dd1268f2af1cfe47f83f1f39b9cd0099e2'
+ 'aabd5b0ab7ac3813ad89d7344ea52a503483d04e627160113965e4d21293659f'
'0c6826084d72917748e54f9308b7395f8d3780b4a745860839203e2af428d202'
)
package() {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.