Two PKGBUILDs

I’ve waited as long as I could, but sometimes even Arch updates aren’t as speedy as I’d like. To that end, here’s a couple of PKGBUILDs for programs I use, that haven’t been bumped up to current yet.

First, Kazehakase 0.5.1. The current version was released on or around December 29, and I figure after a week, the grace period has expired. And I already gave this out a few days ago, in another Kazehakase post.

# $Id: PKGBUILD,v 1.6 2007/11/11 23:37:33 pizzapunk Exp $
# Maintainer: Alexander Fehr (pizzapunk gmail com)
# Contributor: pressh (pressh at gmail dot com)
# This PKGBUILD modified for version 0.5.1 by K.Mandla (k dot mandla at gmail dot com)

pkgname=kazehakase
pkgver=0.5.1
pkgrel=1
pkgdesc="GTK+ web browser using the Gecko engine"
arch=('i686' 'x86_64')
url="http://kazehakase.sourceforge.jp/"
license=('GPL')
depends=('xulrunner')
makedepends=('pkgconfig' 'intltool')
options=('!libtool')
source=(http://jaist.dl.sourceforge.jp/kazehakase/28710/$pkgname-$pkgver.tar.gz)
md5sums=('97e052d4436bad0fb8ad38fa36f59271')

build() {
  [ -z "${MOZ_PLUGIN_PATH}" ] && . /etc/profile.d/mozilla-common.sh

  cd $startdir/src/kazehakase-$pkgver
  ./configure --prefix=/usr --sysconfdir=/etc --with-gecko-engine=xulrunner \
    --with-ruby=no --with-rgettext=no
  make || return 1
  make DESTDIR=$startdir/pkg install
}

I changed nothing over the 0.5.0 PKGBUILD except the version number, release count and the md5sum, so I don’t take any credit (or blame) for your rebuilding experience. Also note that I tap the JAIST repository for the source code; if you live elsewhere on our fine little planet, you might want to use a different download location.

Next, Stella — an emulator for the Atari 2600 (I’m dating myself with this one). The version on AUR is 2.3.5, which is quite a bit out of date. Of course, even Hardy only has 2.2.x, so I suppose the Arch version is still newer.

# $Id: PKGBUILD,v 1.1 2007/08/10 08:36:11 shinlun Exp $
# Maintainer: Shinlun Hsieh (yngwiexx at yahoo dot com dot tw)
# This PKGBUILD modified for version 2.4.2 by K.Mandla (k dot mandla at gmail dot com )
pkgname=stella
pkgver=2.4.2
pkgrel=1
pkgdesc="A multi-platform Atari 2600 VCS emulator"
arch=('i686')
url="http://stella.sourceforge.net/"
license=('GPL')
depends=('gcc' 'sdl' 'zlib')
makedepends=('nasm' 'mesa')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}-src.tar.gz)
md5sums=('c5a6ba38151a5b961a3f74befe0a6bc2')

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=${startdir}/pkg install
}

Again, I only changed the version, release count and md5sum for the source tarball. If you don’t like the options used, feel free to adjust them.

Please, please, please: Double-check the codes and commands given in those files. WordPress.com regularly eats my code postings, so it’s possible that something important might disappear into the belly of the beast. You have been warned.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s