Fix dosbox's .desktop issue.

This commit is contained in:
Jeff Huang 2015-03-24 13:10:55 +00:00
parent b6bbde8900
commit 9824a0e024
2 changed files with 10 additions and 24 deletions

View File

@ -1,27 +1,24 @@
#
# 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=5
pkgrel=6
pkgdesc="An emulator with builtin DOS for running DOS Games"
arch=('x86_64')
url="http://dosbox.sourceforge.net/"
license=('GPL')
depends=('sdl_net' 'sdl_sound' 'libgl' 'libpng' 'alsa-lib' 'gcc-libs' 'zlib')
makedepends=('mesa')
depends=('sdl_net' 'sdl_sound' 'libgl' 'libpng' 'alsa-lib' 'gcc-libs' 'zlib' 'glu')
makedepends=('mesa-libgl' 'gendesk')
categories=('games' 'system')
source=("http://downloads.sourceforge.net/${pkgname}/$pkgname-$pkgver.tar.gz"
'dosbox.png' 'dosbox.desktop' 'gcc46.patch')
'dosbox.png'
'gcc46.patch')
md5sums=('b9b240fa87104421962d14eee71351e8'
'2aac25fc06979e375953fcc36824dc5e'
'85169ca599028bee8e29e0b3b7b34dd8'
'3fba2e3c7c43290319b2928f40ed30e5')
prepare() {
cd ${srcdir}
gendesk --pkgname ${pkgname} --pkgdesc ${pkgdesc}
cd ${srcdir}/${pkgname}-${pkgver}
patch -Np1 -i "$srcdir/gcc46.patch"
sed -i 's/png_check_sig/png_sig_cmp/' configure
@ -30,9 +27,8 @@ prepare() {
build(){
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr \
--sysconfdir=/etc/dosbox
make
./configure --prefix=/usr --sysconfdir=/etc/dosbox
make
}
package() {

View File

@ -1,10 +0,0 @@
[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;