blob: fc63d69466359fb8de0f4a9b15b798b20f946c41 (
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
|
# Contributor: https://github.com/DirtBagXon @ github@pani.cx
# Maintainer: Nick Bilbrey (beelzebud) <beelzebud@gmail.com>
_pkgname=hypseus-singe
pkgname=$_pkgname-git
pkgver=v2.11.3.r0.gb353e17
pkgrel=1
pkgdesc="A drop-in replacement to daphne, to play laserdisc arcade games on a PC."
arch=('x86_64' 'aarch64')
url="https://github.com/DirtBagXon/hypseus-singe"
license=('GPL3')
depends=('zlib' 'sdl2' 'sdl2_image' 'sdl2_ttf' 'libvorbis')
makedepends=('git' 'cmake')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("$_pkgname::git+$url.git")
md5sums=('SKIP')
pkgver() {
cd "$_pkgname"
git describe --long | sed "s/\([^-]*-g\)/r\1/;s/-/./g"
}
build()
{
cd $_pkgname/src
cmake ../src
make
}
package() {
cd $srcdir
install -Dm755 $_pkgname/scripts/run.sh "$pkgdir"/usr/local/bin/hypseus
install -Dm755 $_pkgname/scripts/singe.sh "$pkgdir"/usr/local/bin/singe
install -Dm755 $_pkgname/src/hypseus "$pkgdir"/usr/local/bin/hypseus.bin
install -d "$pkgdir"/usr/local/$_pkgname/{pics,pics/obsolete,sound,fonts,roms/cputest,screenshots}
install -m644 $_pkgname/pics/*.* "$pkgdir"/usr/local/$_pkgname/pics/
install -m644 $_pkgname/roms/cputest/* "$pkgdir"/usr/local/$_pkgname/roms/cputest/
install -m644 $_pkgname/sound/* "$pkgdir"/usr/local/$_pkgname/sound/
install -m644 $_pkgname/fonts/* "$pkgdir"/usr/local/$_pkgname/fonts/
install -Dm644 $_pkgname/LICENSE "$pkgdir"/usr/share/licenses/$_pkgname/LICENSE
install -d "$pkgdir"/usr/share/doc/$_pkgname/
install -m644 $_pkgname/doc/*.* "$pkgdir"/usr/share/doc/$_pkgname/
}
|