summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 04216d974d685078f972e5aac16b9eb418e24dd8 (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
# Maintainer: Frederic Bezies <fredbezies at gmail dot com>
# Contributor: Alexey Trifonov <otaku [at] rambler dot ru>
pkgname=zesarux-bin
pkgver=11.0
pkgrel=2
pkgdesc="Emulator of different Z80-based computers, including ZX Spectrum. Precompiled binary." 
arch=('x86_64')
url="https://github.com/chernandezba/zesarux"
license=('GPL3')
depends=('ncurses')
optdepends=('pulseaudio' 'sdl')
conflicts=('zesarux')
provides=('zesarux')
source=("https://github.com/chernandezba/zesarux/releases/download/ZEsarUX-11.0/ZEsarUX_linux-11.0-debian11_x86_64.tar.gz"
        "Zesarux.desktop"
        "zesarux.png")
sha256sums=('abcc480efddfdcb678a3dd8d0b452acbb45c93d4ef50a9ef389e36038685f216'
            '0059e183e7cfd8daec6f649728ee15a39f2646fe000032b390caa3dfbeb1edb8'
            'fc71caee4fa242c767793c6b6a3b66fb7ee003d7ef32645a5ef48e19e086ddd7')
package() {
	mkdir -p ${pkgdir}/opt/zesarux
	cp -a ${srcdir}/ZEsarUX-${pkgver}/* ${pkgdir}/opt/zesarux/
	install -D ${srcdir}/Zesarux.desktop -t ${pkgdir}/usr/share/applications/
	install -D ${srcdir}/zesarux.png -t ${pkgdir}/usr/share/pixmaps/
	mkdir -p ${pkgdir}/usr/lib
	ln -s /usr/lib/libncursesw.so.6 ${pkgdir}/usr/lib/libncurses.so.6
}