You are not logged in.
Pages: 1
This is my first PKGBUILD, so fair warning there.
Now, as you may or may not know, Bethesda has recently released Daggerfall for free. But when I looked over Bethesda's forums, I found many posters stating that they were having problems installing it with Dosbox 0.72, and they recommended the newest 0.73. With that in mind, I decided to go ahead and try updating the PKGBUILD for 0.73. I did get it to successfully install, and I have Daggerfall working. I even updated the md5sum.
CAVEAT EMPTOR: I removed the patch that was included with the 0.72 ABS, because the package wouldn't build otherwise. However, I may very well have broken something vital, and only more testing will prove otherwise. I'm a newb to this, so you have been warned.
# $Id: PKGBUILD 3587 2008-06-25 21:44:15Z eric $
# Maintainer: eric <eric@archlinux.org>
# Contributor: Ben <ben@benmazer.net>
pkgname=dosbox
pkgver=0.73
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')
source=(http://heanet.dl.sourceforge.net/sourceforge/dosbox/$pkgname-$pkgver.tar.gz)
md5sums=('0823a11242db711ac3d6ebfff6aff572')
build()
{
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc/dosbox
# Fix invalid permissions FS#10732
chmod 755 $startdir/pkg/usr/man/man1
make || return 1
make prefix=$startdir/pkg/usr install
}
# vim: ts=2 sw=2 et ft=sh
Offline
Works, played Daggerfall with it just now, on x86, And it builds on x86_64 too.
Offline
Hello Singularity!
It's a very good package first time, i think, you will be a good package maintainer, hehe
Some cosmetic changes (without testing the operation after building, while running)
# Contributor: Ben <ben@benmazer.net>
# Maintainer: eric <eric@archlinux.org>
pkgname=dosbox
pkgver=0.73
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')
source=(http://downloads.sourceforge.net/sourceforge/dosbox/$pkgname-$pkgver.tar.gz)
md5sums=('0823a11242db711ac3d6ebfff6aff572')
build()
{
cd ${srcdir}/$pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc/dosbox
# Fix invalid permissions FS#10732
chmod 755 $startdir/pkg/usr/man/man1
make || return 1
make prefix=${pkgdir}/usr install
}
Offline
Thanks! But all I did was bump up the pkgver, it's not too hard, really. If I can do it, I'm sure others can too. I may try my hand at being a package maintainer, but I won't have much free time when college starts back up again. So I probably won't sign on as an official maintainer. But if there's another package I want to use that needs updating, you can bet I'll try to fix it myself. (And probably break something, but oh well.)
I want to say that I really like the PKGBUILD and ABS system. I cannot think of another distro where it is this easy to update packages beyond official repos. So cheers to the Arch devs for that.
Offline
All My Respect to the pacman developers really, it's very kiss build system.
Offline
Pages: 1