]> saetta.ns0.it Git - msys2/commitdiff
graphviz: aggiustamenti e prova compilazione.
authorAndrea Zagli <a.zagli@comune.scandicci.fi.it>
Mon, 10 Aug 2015 11:22:58 +0000 (13:22 +0200)
committerAndrea Zagli <azagli@libero.it>
Sat, 21 Apr 2018 13:15:17 +0000 (15:15 +0200)
packages/mingw-w64-graphviz/PKGBUILD

index 55b3df77d504547016c5459188f45916896cd0c0..ed051792690f47ecc02ba47f4b071bad875ac005 100644 (file)
@@ -22,7 +22,7 @@ depends=("${MINGW_PACKAGE_PREFIX}-cairo"
 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')
@@ -36,6 +36,7 @@ prepare() {
 }
 
 build() {
+  [[ -d build-${MINGW_CHOST} ]] && rm -rf build-${MINGW_CHOST}
   mkdir -p build-${MINGW_CHOST}
   cd build-${MINGW_CHOST}
 
@@ -52,6 +53,6 @@ build() {
 }
 
 package() {
-  cd "$srcdir/build-${MINGW_CHOST}"
-  make DESTDIR=$pkgdir install
+  cd "${srcdir}{/build-${MINGW_CHOST}"
+  make DESTDIR=${pkgdir} install
 }