[arch-general] PKGBUILD for extra/cegui

Rodrigo Amorim Bahiense rodbzro at gmail.com
Mon Jan 11 00:30:11 EST 2010


Hi all!

I've posted on forum (http://bbs.archlinux.org/viewtopic.php?id=88509)
that the package extra/cegui was out of date and then was instructed
by Allan to post the modified PKGBUILD on the mailing list.

Basically, I just modified the version, the license file location and
md5sums. Also, a static reference to old version 0.6.2 to variable $pkgver.

-------

pkgname=cegui
pkgver=0.7.1
pkgrel=4
pkgdesc="A free library providing windowing and widgets for graphics APIs/engines"
arch=(i686 x86_64)
url="http://crayzedsgui.sourceforge.net"
options=('!libtool')
license=("MIT")
depends=('pcre' 'expat' 'freetype2' 'libxml2' 'devil' 'freeglut' 'lua' 'silly')
[ "$CARCH" = "x86_64" ] && depends=(${depends[@]} 'silly')
source=(http://downloads.sourceforge.net/crayzedsgui/CEGUI-$pkgver.tar.gz)

build() {
    cd $startdir/src/CEGUI-$pkgver

    ./configure --prefix=/usr --sysconfdir=/etc --enable-devil --enable-silly \
        --disable-xerces-c --with-default-image-codec=SILLYImageCodec \
        --enable-lua
    make || return 1
    make DESTDIR=$startdir/pkg install

    install -D -m644 doc/COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING
}
md5sums=('0a2815d5204e3c5510884ab62285da97')

-------

I didn't check if the old dependencies are still needed, but anyway,
that was actually my first pkgbuild.

--
Rodrigo


More information about the arch-general mailing list