PKGBUILDs/aur/wxbase/PKGBUILD
Kevin Mihelich 44d2cd404c aur updates
2015-01-21 01:12:25 +00:00

28 lines
765 B
Bash

# Maintainer: Ivan Zenin <i.zenin@gmx.com>
pkgname="wxbase"
pkgver=3.0.2
pkgrel=3
pkgdesc="wxWidgets base libraries for no X install (stable version)"
arch=('i686' 'x86_64')
url="http://wxwidgets.org"
license=('custom:wxWindows')
makedepends=('git')
provides=('wxbase=3.0.2')
conflicts=('wxgtk' 'wxwidgets' 'wxbase')
source=("git+git://github.com/wxWidgets/wxWidgets.git")
md5sums=('SKIP')
build() {
cd "${srcdir}/wxWidgets"
git checkout tags/WX_3_0_2
./configure --prefix=/usr --libdir=/usr/lib --disable-gui --enable-unicode
make
}
package() {
cd "${srcdir}/wxWidgets"
make DESTDIR="${pkgdir}" install
find "${pkgdir}" -type d -name .git -exec rm -r '{}' +
install -D -m644 docs/licence.txt "${pkgdir}/usr/share/licenses/wxWidgets/LICENSE"
}