blob: 793ef0424724e1fb8897d44daa1a255ad9f313c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# Contributor: Rafael Silva <perigoso@riseup.net>
# Contributor: Dan Beste <drb@wishalloy.io>
# Contributor: Alastair Hughes
pkgname='gog-stardew-valley'
pkgver=1.5.6
pkgrel=2
# 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')
depends=('openssl-1.1')
options=('!strip' 'staticlibs')
source=(
"${pkgname}"
"${pkgname}.desktop"
'local:///stardew_valley_1_5_6_1988831614_53040.sh'
)
sha256sums=('9f51b56b351824493c381731f29175b0897fa0dc4169a9b9160b5a12003883dc'
'ca0fe151f73f5e8b594b226e1b0539655a2d95a7848eb0e43961cb6daa0de2ff'
'692722cb77acbccf7392abfbaec54cae34fd6edb8e62cfb2843f70494cb5ea91')
package() {
install -d "${pkgdir}/opt/${pkgname}/"
install -d "${pkgdir}/opt/${pkgname}/support/yad/64"
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 755 \
'data/noarch/support/yad/yad.sh' \
"${pkgdir}/opt/${pkgname}/support/yad/"
install -m 755 \
'data/noarch/support/yad/64/yad' \
"${pkgdir}/opt/${pkgname}/support/yad/64/"
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:
|