blob: 76f4d32ccc65ff30afa4a31782674eb42c1ca0ea (
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
|
# 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-amplified
_pkgname=crypt-of-the-necrodancer-amplified
epoch=1
pkgver=1.29.14917
_pkgver=1_29_14917
_dlcver=2_59_21255
pkgrel=2
pkgdesc="A roguelike rhythm game! (with the Amplified DLC)"
arch=('i686' 'x86_64')
license=('custom')
install=${pkgname}.install
source=("local://crypt_of_the_necrodancer_en_${_pkgver}.sh"
"local://crypt_of_the_necrodancer_amplified_dlc_en_${_dlcver}.sh"
"$pkgname"
"$pkgname.desktop"
"$pkgname.install")
backup=('opt/gog/crypt-of-the-necrodancer-amplified/game/data/{played.dat,save_data.xml,save_data.xml_TEMP}'
'opt/gog/crypt-of-the-necrodancer-amplified/game/replays/'
'opt/gog/crypt-of-the-necrodancer-amplified/game/logs/')
sha256sums=(SKIP
SKIP
'070ec64e6d5bc1a4b68e73fd25a716b116b279718b338f071f0bea953532d4ff'
'1542f20660e4bf1fc78a35759a71d6d658d3b80279fe5223fc0d60f25d309f0e'
'bf6f3b593bfeef411cc0ff660bd2f469a41b14e1b5b4176f748cc70bf58a64e4')
PKGEXT=".pkg.tar"
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"
}
|