blob: 98a2e60a07324a13ea97c7f81aef2c7760a620f1 (
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
|
# Maintainer: Alexander Aleschenko <alex.aleschenko@gmail.com>
pkgname=emu80-qt
pkgver=4.0.466
pkgrel=1
pkgdesc="Emulator for bunch of Soviet PCs"
arch=('x86_64')
url="https://emu80.org/"
license=("GPL3")
depends=("qt5-base" "qt5-multimedia")
source=("https://github.com/vpyk/emu80v4/archive/refs/tags/v${pkgver}.tar.gz" "shortcut.desktop")
sha256sums=("8987e165abf30fa09b8b69b2f0f988318fd1e065e155723a195880b43b6ff487" "bd817f4c7a0183e322fb25fa27160f5279ac0310ea8445a86edd9c944b43e839")
build() {
cd "emu80v4-${pkgver}"
qmake src/Emu80qt.pro
make
}
package() {
cd "emu80v4-${pkgver}"
destination=${pkgdir}/opt/${pkgname}
install -d -m755 ${destination}
cp -r dist/* ${destination}
cp COPYING.txt ${destination}
cp whatsnew.txt ${destination}
cp doc/* ${destination}
install -m0755 Emu80qt ${destination}/${pkgname}
install -d -m755 ${pkgdir}/usr/bin
ln -s "/opt/${pkgname}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
install -D -m644 "${srcdir}/shortcut.desktop" "${pkgdir}/usr/share/applications/emu80-qt.desktop"
install -D -m644 "src/qt/icons/emu80.png" "${pkgdir}/usr/share/pixmaps/emu80.png"
}
|