# Maintainer: Dinesh Manajipet <saidinesh5@gmail.com>
# Contributor: Martchus <martchus@gmx.net>

_pkgname=mxedeployqt
pkgname=$_pkgname-git
pkgver=0.1.10.g6224a17
pkgrel=1.1
pkgdesc='Little tool to substitute the missing windeployqt in mxe by grabbing all required Qt dependencies (git version)'
arch=('any')
url='https://github.com/saidinesh5/mxedeployqt'
license=('MIT')
groups=()
depends=(python)
makedepends=('git')
optdepends=()
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("$_pkgname::git+https://github.com/saidinesh5/mxedeployqt.git")
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/$_pkgname"
  git describe --tags | sed 's|-|.|g'
}

package() {
  cd "$srcdir/$_pkgname"
  mkdir -p "$pkgdir/usr/bin/"
  install -Dm 755 "$srcdir/$_pkgname/mxedeployqt" "$pkgdir/usr/bin/"
}

# vim:set ts=2 sw=2 et:
