diff options
author | Liviu Cristian Mirea Ghiban | 2016-04-15 13:10:07 +0300 |
---|---|---|
committer | Liviu Cristian Mirea Ghiban | 2016-04-15 13:10:07 +0300 |
commit | dcfdacca77a72c9396e2769075c144d6366bd15a (patch) | |
tree | db9a4ba2ced58163ef9fe0ce320ec087d8ed2849 | |
parent | 46500f9485f4355a3bc40df776e2b63d844cd91d (diff) | |
download | aur-dcfdacca77a72c9396e2769075c144d6366bd15a.tar.gz |
Support nightly builds. Update to 9.3.0.5071.
-rw-r--r-- | PKGBUILD | 35 |
1 files changed, 28 insertions, 7 deletions
@@ -1,28 +1,39 @@ -# Maintainer: Liviu Cristian Mirea-Ghiban <contact at liviucmg dot com> +# Maintainer: Liviu Cristian Mirea-Ghiban <liviu dot mirea at wecodepixels dot com> +heidisqlrelease=5071 +shortpkgver=9.3 pkgname=heidisql -pkgver=9.3 +pkgver=${shortpkgver}.0.${heidisqlrelease} pkgrel=1 -pkgdesc="A lightweight GUI for managing MySQL and Microsoft SQL databases. Uses Wine. Package repo: https://github.com/WeCodePixels/heidisql-aur" +pkgdesc="A lightweight GUI for managing MySQL, PostgreSQL, and Microsoft SQL databases. This package uses the latest nightly build (32bit) on top of the portable version, and uses Wine." arch=(any) url="http://www.heidisql.com/" license=('GPL') depends=(bash wine) makedepends=(unzip) -source=("http://www.heidisql.com/downloads/releases/HeidiSQL_${pkgver}_Portable.zip" +source=("http://www.heidisql.com/downloads/releases/HeidiSQL_${shortpkgver}_Portable.zip" + "http://www.heidisql.com/builds/heidisql32.r${heidisqlrelease}.exe" "${pkgname}.png" "${pkgname}.desktop" "${pkgname}.sh") md5sums=('880bcb6ee668db0bf4daca47285bfe08' + '868fd3b7a0e9aa0b0c7d6ae68a10e171' 'df3673bc694beceb8ed6cfeace6b6c3f' 'ea4fc6959a315ef5c2bf8e22c479e22a' '3cdbca3164df7d3629ffc469d52e53a0') -noextract=("HeidiSQL_${pkgver}_Portable.zip") +noextract=("HeidiSQL_${shortpkgver}_Portable.zip") package() { - # Install files from the .zip file + # Unzip files from the .zip file install -d -m755 ${pkgdir}/usr/share/$pkgname - unzip "$srcdir/HeidiSQL_${pkgver}_Portable.zip" -d "$srcdir/unzipped" + unzip "$srcdir/HeidiSQL_${shortpkgver}_Portable.zip" -d "$srcdir/unzipped" + + # Overwrite with nightly build file + cp "$srcdir/heidisql32.r${heidisqlrelease}.exe" "$srcdir/unzipped/heidisql.exe" + + # Install files cp -ra "$srcdir/unzipped/"* "${pkgdir}/usr/share/${pkgname}" + + # Set proper permissions find "${pkgdir}/usr/share/${pkgname}" -type f -exec chmod 644 "{}" \; find "${pkgdir}/usr/share/${pkgname}" -type d -exec chmod 755 "{}" \; @@ -35,3 +46,13 @@ package() { # Install the .desktop install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop" } +md5sums=('880bcb6ee668db0bf4daca47285bfe08' + '868fd3b7a0e9aa0b0c7d6ae68a10e171' + 'df3673bc694beceb8ed6cfeace6b6c3f' + 'ea4fc6959a315ef5c2bf8e22c479e22a' + '3cdbca3164df7d3629ffc469d52e53a0') +md5sums=('880bcb6ee668db0bf4daca47285bfe08' + 'c3efa0690cc264aa37d9b733072c859c' + 'df3673bc694beceb8ed6cfeace6b6c3f' + 'ea4fc6959a315ef5c2bf8e22c479e22a' + '3cdbca3164df7d3629ffc469d52e53a0') |