blob: bf56219da2d5d43e3dd3bc7a45bd61ee61c5fed3 (
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
|
# Maintainer: 5anya <sanya at national dot shitposting dot agency>
# Contributor: Luke Chen <doomer at yahoo dot com>
# skip stripping for debugging purposes
#options=('!strip')
pkgname=gog-crypt-of-the-necrodancer
_pkgname=crypt-of-the-necrodancer
epoch=1
pkgver=1.29.14917
_pkgver=1_29_14917
pkgrel=5
pkgdesc="A roguelike rhythm game! Move on the beat to navigate ever changing dungeons"
arch=('i686' 'x86_64')
license=('custom')
install=${pkgname}.install
source=("local://crypt_of_the_necrodancer_en_${_pkgver}.sh"
"$pkgname"
"$pkgname.desktop"
"$pkgname.install")
sha256sums=(SKIP
'd80562a04ded4b25bca9738267d1d93d2be8fef74570aa7d00d83471c4e71121'
'9753ea711a428a24333cb37be1f11a3a35860072723e89dd7599d1842f0f4f89'
'99136db3939cbab2ae33181479e069c3d25298096758327a41d002494c8ae54c')
PKGEXT=".pkg.tar"
backup=("opt/gog/$_pkgname/game/data/{played.dat,save_data.xml,save_data.xml_TEMP}"
"opt/gog/$_pkgname/game/replays/"
"opt/gog/$_pkgname/game/logs/")
package() {
depends_i686=('libglvnd' 'openal' 'libxrandr' 'libpulse')
depends_x86_64=('lib32-libglvnd' 'lib32-openal' 'lib32-libxrandr' 'lib32-libpulse')
mkdir -p "$pkgdir"/opt/gog/$_pkgname
cp -r data/noarch/* "$pkgdir"/opt/gog/$_pkgname
install -Dm755 $pkgname "$pkgdir/usr/bin/$pkgname"
install -Dm644 $pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
install -Dm644 data/noarch/support/icon.png "$pkgdir/usr/share/pixmaps/hicolor/256x256/$pkgname.png"
install -Dm644 data/noarch/docs/End\ User\ License\ Agreement.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|