blob: e10445a41a33dd9449b7972998dfe6ddb90d0316 (
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
# Contributor: Timur Bagautdinov <mr.bagautdinov14 at gmail dot com>
pkgname='gog-stardew-valley'
pkgver=1.6.14
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='https://stardewvalley.net/'
license=('custom')
arch=('x86_64')
options=('!strip' 'staticlibs')
source=(
"${pkgname}"
"${pkgname}.desktop"
'local:///stardew_valley_1_6_14_24317_8331381720_77745.sh'
)
sha256sums=('9f51b56b351824493c381731f29175b0897fa0dc4169a9b9160b5a12003883dc'
'83e20ff00d527e4016e0b964e5c423d6e72d6c3ee4208da87b925772ba7311dd'
'8393ae405ace219d6e448129dc561a12dc461436760f8a52264c1ed729660849')
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:
|