diff options
author | Claudia Pellegrino | 2024-01-12 15:41:31 +0100 |
---|---|---|
committer | Claudia Pellegrino | 2024-01-12 15:49:01 +0100 |
commit | f5415f7d793e51771e070e9f5c12d8f1d0f84226 (patch) | |
tree | 5041078494039a4b2e5d87f65682d48dfe360c3f | |
parent | e2379b017117a202111c407c0a5a8328369ef34f (diff) | |
download | aur-gog-thimbleweedpark.tar.gz |
Add desktop entry, fix pkgdesc, style, .gitignore
Also fix Namcap findings and add an .editorconfig file.
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | .editorconfig | 20 | ||||
-rw-r--r-- | .gitignore | 10 | ||||
-rw-r--r-- | PKGBUILD | 23 | ||||
-rw-r--r-- | gog-thimbleweedpark.desktop | 10 |
5 files changed, 56 insertions, 14 deletions
@@ -1,7 +1,7 @@ pkgbase = gog-thimbleweedpark - pkgdesc = Thimbleweed Park + pkgdesc = Neo-noir mystery point-and-click adventure set in 1987. GOG version. pkgver = 1.0.958.19330 - pkgrel = 1 + pkgrel = 2 epoch = 1 url = https://www.gog.com/game/thimbleweed_park arch = x86_64 @@ -20,8 +20,9 @@ pkgbase = gog-thimbleweedpark options = !strip source = thimbleweed_park_en_1_0_958_19330.sh::gogdownloader://thimbleweed_park/en3installer0 source = thimbleweedpark.shim + source = gog-thimbleweedpark.desktop sha512sums = 93970bcfca4d201abf5858559f0fe33d2d3e18930d10e1c6e1691fee1075d82f5e6f6b51b0200d55276ce1546308ffc8ad9db5bbb5185af90f2caf092a4adf05 sha512sums = e769cb50a03620f41d864c296224e3a3c7bce93613b714590caabb8cd726ccef5f1a08a664a6018ef7fd74a836340ae6165cb0801e86424639adba3513d96d18 + sha512sums = 8abe889a8e074abc0c88844581cd800fc041fc6987e5b8a52872dc859446be6d749ba9e5c80ead6246965499a01b1c77cd34fb51d4658cd5aef4fb403c6ee437 pkgname = gog-thimbleweedpark - diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000000..0d463ad92c11 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,20 @@ +# https://editorconfig.org + +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_style = space +insert_final_newline = true +trim_trailing_whitespace = true + +[*.{diff,patch}] +end_of_line = lf +trim_trailing_whitespace = false + +[PKGBUILD] +indent_size = 4 + +[*.json] +indent_size = 2 diff --git a/.gitignore b/.gitignore index f01345cb78f5..3ea64a409a35 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ -/gog_thimbleweed_park_*.sh -/patch_thimbleweed_park_*.sh -/thimbleweed_park_en_*.sh +/.vscode/ +/src +/pkg +*.log +*.pkg.* +*.tar.* +thimbleweed_park_*.sh @@ -3,9 +3,9 @@ pkgname=gog-thimbleweedpark pkgver=1.0.958.19330 -pkgrel=1 +pkgrel=2 epoch=1 -pkgdesc='Thimbleweed Park' +pkgdesc='Neo-noir mystery point-and-click adventure set in 1987. GOG version.' arch=('x86_64') url='https://www.gog.com/game/thimbleweed_park' license=('custom') @@ -16,40 +16,47 @@ makedepends=('lgogdownloader') source=( "thimbleweed_park_en_${pkgver//./_}.sh::gogdownloader://thimbleweed_park/en3installer0" 'thimbleweedpark.shim' + 'gog-thimbleweedpark.desktop' ) sha512sums=( '93970bcfca4d201abf5858559f0fe33d2d3e18930d10e1c6e1691fee1075d82f5e6f6b51b0200d55276ce1546308ffc8ad9db5bbb5185af90f2caf092a4adf05' 'e769cb50a03620f41d864c296224e3a3c7bce93613b714590caabb8cd726ccef5f1a08a664a6018ef7fd74a836340ae6165cb0801e86424639adba3513d96d18' + '8abe889a8e074abc0c88844581cd800fc041fc6987e5b8a52872dc859446be6d749ba9e5c80ead6246965499a01b1c77cd34fb51d4658cd5aef4fb403c6ee437' ) DLAGENTS+=('gogdownloader::/usr/bin/lgogdownloader --download-file=%u -o %o') PKGEXT=.pkg.tar _gamename='thimbleweedpark' package() { - msg2 'Packaging the license' + echo >&2 'Packaging the license' install -D -m 644 -t "${pkgdir}/usr/share/licenses/${pkgname}" \ "${srcdir}/data/noarch/docs/End User License Agreement.txt" - msg2 'Packaging game data' + echo >&2 'Packaging game data' mkdir -p "${pkgdir}/opt/gog/${_gamename}" cp -r --preserve=mode -t "${pkgdir}/opt/gog/${_gamename}" \ "${srcdir}/data/noarch"/* - msg2 'Packaging game icon' + echo >&2 'Packaging game icon' install -D -m 644 -T \ "${srcdir}/data/noarch/support/icon.png" \ "${pkgdir}/usr/share/pixmaps/${pkgname}.png" - msg2 'Packaging executable shim' + echo >&2 'Packaging executable shim' install -D -m 755 -T \ "${srcdir}/${_gamename}.shim" \ "${pkgdir}/usr/bin/${_gamename}" - msg2 'Packaging documentation' + echo >&2 'Packaging desktop file' + install -D -m 755 -T \ + "${srcdir}/${pkgname}.desktop" \ + "${pkgdir}/usr/share/applications/${pkgname}.desktop" + + echo >&2 'Packaging documentation' install -D -m 644 -t "${pkgdir}/usr/share/doc/${pkgname}" \ "${srcdir}/data/noarch/docs"/* install -D -m 644 -t "${pkgdir}/usr/share/doc/${pkgname}/support" \ "${srcdir}/data/noarch/support/support_notice.txt" - msg2 "Note that this version (${pkgver}) supersedes any 2.x release." + echo >&2 "Note that this version (${pkgver}) supersedes any 2.x release." } diff --git a/gog-thimbleweedpark.desktop b/gog-thimbleweedpark.desktop new file mode 100644 index 000000000000..4cee0286328c --- /dev/null +++ b/gog-thimbleweedpark.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=Thimbleweed Park +Comment=Neo-noir mystery point-and-click adventure set in 1987 +Exec=thimbleweedpark +Icon=gog-thimbleweedpark +Type=Application +Terminal=false +StartupNotify=true +Categories=Game; +Encoding=UTF-8 |