# Maintainer: Andrea Zagli <andrea.zagli.free@gmail.com>
_realname=titoli_abilitativi
+_base_ver=0.5.1
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
-pkgver=0.0.5
-pkgrel=5
+pkgver=0.5.1.459.99492be
+pkgrel=1
arch=('any')
pkgdesc="Gestione titoli abilitativi (mingw-w64)"
depends=("${MINGW_PACKAGE_PREFIX}-gtk3"
sha256sums=('SKIP'
'607c2bb9f7563a74baac77d46a00d2fb1f0f829752db3a73e9c3f7202c371be1')
+pkgver() {
+ cd "${srcdir}/${_realname}"
+ printf "%s.%s.%s" "${_base_ver}" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
prepare() {
cd ${_realname}