]> saetta.ns0.it Git - msys2/commitdiff
zak-autho-gui: nuovo pacchetto.
authorAndrea Zagli <andrea.zagli@email.it>
Mon, 3 Apr 2017 08:42:24 +0000 (10:42 +0200)
committerAndrea Zagli <andrea.zagli@email.it>
Mon, 3 Apr 2017 08:42:24 +0000 (10:42 +0200)
packages/mingw-w64-zak-autho-gui/.gitignore [new file with mode: 0644]
packages/mingw-w64-zak-autho-gui/PKGBUILD [new file with mode: 0644]

diff --git a/packages/mingw-w64-zak-autho-gui/.gitignore b/packages/mingw-w64-zak-autho-gui/.gitignore
new file mode 100644 (file)
index 0000000..6156a9b
--- /dev/null
@@ -0,0 +1 @@
+zak-autho-gui
diff --git a/packages/mingw-w64-zak-autho-gui/PKGBUILD b/packages/mingw-w64-zak-autho-gui/PKGBUILD
new file mode 100644 (file)
index 0000000..10ee294
--- /dev/null
@@ -0,0 +1,42 @@
+# Maintainer: Andrea Zagli <andrea.zagli.free@gmail.com>
+
+_realname=zak-autho-gui
+pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
+pkgver=0.0.5
+pkgrel=1
+arch=('any')
+pkgdesc="libautoz graphic interface (mingw-w64)"
+depends=("${MINGW_PACKAGE_PREFIX}-libgdaex"
+         "${MINGW_PACKAGE_PREFIX}-libzakautho")
+makedepends=("${MINGW_PACKAGE_PREFIX}-gcc"
+             "gtk-doc"
+             "${MINGW_PACKAGE_PREFIX}-gnome-common")
+options=('strip' 'staticlibs')
+license=("LGPL 2.1")
+url="http://saetta.ns0.it/"
+source=(zak-autho-gui::git+http://saetta.ns0.it/git/zakautho/gui#branch=develop)
+sha256sums=('SKIP')
+
+prepare() {
+  cd ${_realname}
+}
+
+build() {
+  mkdir -p build-${MINGW_CHOST}
+  cd build-${MINGW_CHOST}
+
+  ../${_realname}/autogen.sh \
+    --host=${MINGW_CHOST} \
+    --target=${MINGW_CHOST} \
+    --build=${MINGW_CHOST} \
+    --prefix=${MINGW_PREFIX} \
+    --libexecdir=${MINGW_PREFIX}/lib
+  make
+}
+
+package() {
+  cd "$srcdir/build-${MINGW_CHOST}"
+  make DESTDIR=$pkgdir install
+
+  install -Dm644 "${srcdir}/${_realname}/COPYING" "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/COPYING"
+}