PKGBUILDs/aur/wxbase/PKGBUILD
2011-06-09 18:02:24 -04:00

30 lines
864 B
Bash

# Maintainer: halim <sagikliwon@gmail.com>
plugrel=1
pkgname=wxbase
pkgver=2.8.12
pkgrel=1
pkgdesc="wxBase - wxWidgets base libraries for no X install"
arch=('i686' 'x86_64')
url="http://wxwidgets.org"
license=('custom:wxWindows')
depends=('zlib')
conflicts=('wxgtk')
makedepends=('')
source=(http://downloads.sourceforge.net/wxwindows/wxGTK-${pkgver}.tar.bz2)
md5sums=('08f81ab60647308058f6ce99712b14f8')
build() {
cd ${srcdir}/wxGTK-${pkgver}
./configure --prefix=/usr --libdir=/usr/lib \
--disable-gui --disable-debug --enable-unicode --disable-compat24 \
--disable-compat26 --with-zlib=sys --without-odbc \
--without-expat --without-libmspack --without-subdirs || return 1
make CC="gcc" || return 1
make DESTDIR=${pkgdir} install || return 1
cd docs || return 1
install -D -m644 licence.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1
}