Package Details: dosbox-svn 1:r4494-1

Git Clone URL: https://aur.archlinux.org/dosbox-svn.git (read-only, click to copy)
Package Base: dosbox-svn
Description: An emulator with builtin DOS for running DOS Games
Upstream URL: http://dosbox.sourceforge.net/
Licenses: GPL-2.0-or-later
Conflicts: dosbox
Provides: dosbox
Submitter: Vaporeon
Maintainer: Vaporeon
Last Packager: Vaporeon
Votes: 13
Popularity: 0.000000
First Submitted: 2015-09-12 10:58 (UTC)
Last Updated: 2026-03-15 16:24 (UTC)

Required by (60)

Sources (5)

Latest Comments

1 2 Next › Last »

FredBezies commented on 2026-03-11 11:50 (UTC) (edited on 2026-03-11 11:51 (UTC) by FredBezies)

Here is an updated and working PKGBUILD:

# Maintainer: Vaporeon <vaporeon@vaporeon.io>
# Contributor: Limao Luo <luolimao+AUR@gmail.com>
# Contributor: Jose Valecillos <valecillosjg@gmail.com>

pkgname=dosbox-svn
pkgver=r4494
pkgrel=1
epoch=1
pkgdesc="An emulator with builtin DOS for running DOS Games"
arch=('i686' 'x86_64')
url='http://dosbox.sourceforge.net/'
license=('GPL-2.0-or-later')
depends=('alsa-lib' 'hicolor-icon-theme' 'libgl' 'glu' 'libpng' 'mesa' 'sdl_net' 'sdl_sound')
makedepends=('subversion' 'desktop-file-utils')
provides=('dosbox')
conflicts=('dosbox')
source=($pkgname::svn+https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk
    $pkgname.desktop
    dosbox-16.png
    dosbox-48.png
    dosbox-128.png)
sha256sums=('SKIP'
    '7c8db8a5a475f54283748b539b50fa49b59a87c5ff80e94e82520530b996f871'
    'e657254e56dd7d66cb1cefbf37f0f360e13a221bc60b1638c00dcda508f7fd56'
    'e71a3984170b3bf7af7d9cfbec0752187d70be76602721a1227b60980d7c380a'
    '228593e97732eaa31e0202b7d46da9d7529672369c17312db3f97784601b5d81')

pkgver() {
  cd "$pkgname"
  local ver="$(svnversion)"
  printf "r%s" "${ver//[[:alpha:]]}"
}

build() {
    cd $pkgname
    sh autogen.sh
    ./configure --prefix=/usr --sysconfdir=/etc/dosbox
    make
}

package() {
    make -C $pkgname DESTDIR="$pkgdir" install

    # Fix invalid permissions FS#10732
    chmod 755 "$pkgdir"/usr/share/man/man1

    for i in 16 48 128; do
    install -Dm644 dosbox-$i.png "$pkgdir"/usr/share/icons/hicolor/${i}x$i/apps/dosbox.png
    done
    desktop-file-install $pkgname.desktop --dir "$pkgdir"/usr/share/applications/
}

taur0 commented on 2025-02-25 05:55 (UTC) (edited on 2025-02-25 05:56 (UTC) by taur0)

Can't build. Can anybody please help?

==> Starting pkgver()...
cat: dosbox-svn/VERSION: No such file or directory
==> ERROR: pkgver is not allowed to contain colons, forward slashes, hyphens or whitespace.
==> ERROR: pkgver() generated an invalid version: .Unversioned directory
 -> error making: dosbox-svn-exit status 12
 -> Failed to install the following packages. Manual intervention is required:
dosbox-svn - exit status 12

Vaporeon commented on 2020-10-22 09:57 (UTC)

Those are in 'base-devel' and are implied to be available to all arch packages.

shizcow commented on 2020-08-15 19:57 (UTC)

Missing build dependencies autoconf and automake.

PedroHLC commented on 2019-08-10 22:59 (UTC)

Missing dosbox-file-utils as makedep (otherwise fails with desktop-file-install not found)

es20490446e commented on 2019-04-10 10:44 (UTC) (edited on 2019-04-12 02:03 (UTC) by es20490446e)

The shortcut should have:

Exec=dosbox %f

MimeType=application/x-ms-dos-executable

Replies to http://tinyurl.com/contact-alberto

avamk commented on 2019-01-15 18:14 (UTC)

@Vaporeon: That worked, thank you! Appreciate your work.

Vaporeon commented on 2019-01-05 22:53 (UTC)

Just run makepkg again, vcs packages on the AUR always pull the latest source.