blob: 5c87199bfce4833ee88081bf539e2cd9926a82d4 (
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
|
# Contributor: https://github.com/DirtBagXon @ github@pani.cx
# Maintainer: Nick Bilbrey (beelzebud) <beelzebud@gmail.com>
pkgname=hypseus-singe
pkgver=2.11.3
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')
conflicts=("daphne" "$pkgname-git")
replaces=("daphne" "$pkgname-git")
_tag=e2ad79d9d3a6102efe9e5fad2cc45294c9a0303c
source=(git+$url.git#tag=${_tag})
sha256sums=('dde76fdf229984abf4a32a23c986f92e6b4c5bca3207fd1b68923f68d90061b5')
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/
}
|