blob: 921a2c44b9f51bcc9d141d12270a816b93a7c6d3 (
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
|
# Maintainer: Nathan Chere <aur@nathanchere.com.au>
pkgname=dosbox-pure-unleashed-bin
pkgver=1.0_preview8
pkgrel=1
pkgdesc="DOSBox reimagined with a friendly interface, ZIP loading and save states"
arch=('x86_64')
url="https://codeberg.org/schelling/dosbox-pure-unleashed"
license=('GPL2')
depends=('libgl' 'libx11')
provides=('dosbox-pure-unleashed')
conflicts=('dosbox-pure-unleashed' 'dosbox-pure-unleashed-git')
options=('!strip')
_pkgver="${pkgver//_/-}"
source=("dosbox-pure-unleashed-${pkgver}.zip::${url}/releases/download/${_pkgver}/dosbox_pure_unleashed-linux-x64-${_pkgver}.zip"
"dosbox-pure-unleashed.png"
"LICENSE::${url}/raw/tag/${_pkgver}/LICENSE")
sha256sums=('7c9c67c909c66b1f904dc40cbbf418b54ee90f47c3f1e6f8cd0eddcdedaa6917'
'dbc60121b55da42d2f4f2f19b92bc741d073be313d28a16699572ce3942a89dc'
'61e0922747762a12e88a47ab66ef4ed026148361900440086b4863145973a374')
package() {
cd "${srcdir}"
install -Dm755 DOSBoxPure "${pkgdir}/usr/bin/dosbox-pure-unleashed"
install -Dm644 "${srcdir}/dosbox-pure-unleashed.png" "${pkgdir}/usr/share/icons/hicolor/256x256/apps/dosbox-pure-unleashed.png"
install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -dm755 "${pkgdir}/usr/share/applications"
cat <<'EOF' > "${pkgdir}/usr/share/applications/dosbox-pure-unleashed.desktop"
[Desktop Entry]
Name=DOSBox Pure Unleashed
Comment=DOS emulator with friendly UI, ZIP loading and save states
Exec=dosbox-pure-unleashed
Terminal=false
Type=Application
Categories=Game;Emulator;
Icon=dosbox-pure-unleashed
EOF
}
|