PKGBUILDs/aur/wxbase/PKGBUILD

29 lines
765 B
Bash
Raw Normal View History

2015-01-21 01:12:05 +00:00
# Maintainer: Ivan Zenin <i.zenin@gmx.com>
2010-12-22 01:39:15 +00:00
2015-01-21 01:12:05 +00:00
pkgname="wxbase"
pkgver=3.0.2
pkgrel=3
pkgdesc="wxWidgets base libraries for no X install (stable version)"
2010-12-22 01:39:15 +00:00
arch=('i686' 'x86_64')
url="http://wxwidgets.org"
license=('custom:wxWindows')
2015-01-21 01:12:05 +00:00
makedepends=('git')
provides=('wxbase=3.0.2')
conflicts=('wxgtk' 'wxwidgets' 'wxbase')
source=("git+git://github.com/wxWidgets/wxWidgets.git")
md5sums=('SKIP')
2010-12-22 01:39:15 +00:00
2015-01-21 01:12:05 +00:00
build() {
cd "${srcdir}/wxWidgets"
git checkout tags/WX_3_0_2
./configure --prefix=/usr --libdir=/usr/lib --disable-gui --enable-unicode
make
}
2010-12-22 01:39:15 +00:00
2015-01-21 01:12:05 +00:00
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"
2010-12-22 01:39:15 +00:00
}