updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / vba-m / PKGBUILD
blobbbe2720d90711d5b960dcdd51cdc9b983fb69044
1 pkgname=vba-m
2 pkgver=1.8.0.1054
3 pkgrel=1
4 pkgdesc="A VBA fork that focuses on consolidating existing ports and improving VBA in general"
5 arch=(i686 x86_64)
6 url="http://vba-m.ngemu.com"
7 license=('GPL')
8 groups=()
9 depends=('gtkmm' 'sdl' 'glibmm' 'libpng' 'zlib' 'cairo' 'mesa' 'gtkglext'
10          'gtkglextmm' 'libxv' 'hicolor-icon-theme' 'ffmpeg')
11 makedepends=('cmake' 'pkg-config' 'nasm')
12 source=("http://downloads.sourceforge.net/sourceforge/vbam/VBA-M svn r1042/${pkgname/-/}-$pkgver-src.tar.gz")
13 install='vba-m.install'
14 md5sums=('f9a67e65dd6df4d5190321f6fc758c24')
16 build() {
17   cd "$srcdir/vbam-$pkgver"
18   cmake . \
19     -DCMAKE_INSTALL_PREFIX=/usr \
20     -DDATA_INSTALL_DIR:PATH=share/vbam/gtk \
21     -DVERSION=$pkgver \
22     -DENABLE_WX=OFF
23   make
26 package() {
27   cd "$srcdir/vbam-$pkgver"
28   make DESTDIR=$pkgdir install