mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
add dosbox
This commit is contained in:
parent
c74bc027e5
commit
077007be05
38
dosbox/PKGBUILD
Normal file
38
dosbox/PKGBUILD
Normal file
@ -0,0 +1,38 @@
|
||||
#
|
||||
# Chakra Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||||
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||||
|
||||
pkgname=dosbox
|
||||
pkgver=0.74
|
||||
pkgrel=1
|
||||
pkgdesc="An emulator with builtin DOS for running DOS Games"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://dosbox.sourceforge.net/"
|
||||
license=('GPL')
|
||||
depends=('sdl_net' 'sdl_sound' 'libgl' 'libpng' 'alsa-lib' 'gcc-libs')
|
||||
makedepends=('mesa')
|
||||
source=("http://downloads.sourceforge.net/${pkgname}/$pkgname-$pkgver.tar.gz"
|
||||
'dosbox.png' 'dosbox.desktop')
|
||||
md5sums=('b9b240fa87104421962d14eee71351e8'
|
||||
'2aac25fc06979e375953fcc36824dc5e'
|
||||
'85169ca599028bee8e29e0b3b7b34dd8')
|
||||
|
||||
build(){
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
sed -i 's/png_check_sig/png_sig_cmp/' configure || return 1
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc/dosbox || return 1
|
||||
make || return 1
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
|
||||
install -Dm644 ${srcdir}/${pkgname}.png \
|
||||
${pkgdir}/usr/share/pixmaps/${pkgname}.png || return 1
|
||||
install -Dm644 ${srcdir}/${pkgname}.desktop \
|
||||
${pkgdir}/usr/share/applications/${pkgname}.desktop || return 1
|
||||
}
|
10
dosbox/dosbox.desktop
Normal file
10
dosbox/dosbox.desktop
Normal file
@ -0,0 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Encoding=UTF-8
|
||||
Name=dosbox Emulator
|
||||
GenericName=Emulator
|
||||
Comment=An emulator to run old DOS games
|
||||
Icon=dosbox
|
||||
Exec=dosbox
|
||||
Terminal=false
|
||||
Categories=Emulator;Application;
|
BIN
dosbox/dosbox.png
Normal file
BIN
dosbox/dosbox.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.6 KiB |
Loading…
Reference in New Issue
Block a user