options=('strip' 'staticlibs')
license=("GPL 2")
url="http://www.gnome.org"
-source=(http://graphviz.org/pub/${_realname}/stable/SOURCES/${_realname}-$pkgver.tar.gz
+source=(http://graphviz.org/pub/${_realname}/stable/SOURCES/${_realname}-${pkgver}.tar.gz
001-win.patch)
sha256sums=('81aa238d9d4a010afa73a9d2a704fc3221c731e1e06577c2ab3496bdef67859e'
'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855')
}
build() {
+ [[ -d build-${MINGW_CHOST} ]] && rm -rf build-${MINGW_CHOST}
mkdir -p build-${MINGW_CHOST}
cd build-${MINGW_CHOST}
}
package() {
- cd "$srcdir/build-${MINGW_CHOST}"
- make DESTDIR=$pkgdir install
+ cd "${srcdir}{/build-${MINGW_CHOST}"
+ make DESTDIR=${pkgdir} install
}