# Maintainer: Vilsol pkgname=oshabi-bin pkgver=0.0.28 pkgrel=1 pkgdesc='A scanner for Path of Exile harvest horticrafting stations and sacred grove.' arch=(x86_64) url=https://github.com/Vilsol/oshabi license=(GPL3) depends=(tesseract tesseract-data-eng opencv xsel webkit2gtk qt5-base) provides=("${pkgname/-bin/}=${pkgver}") conflicts=("${pkgname/-bin/}") source=("${pkgname}_${pkgver}.tar.gz::https://github.com/Vilsol/${pkgname/-bin/}/releases/download/v${pkgver}/${pkgname/-bin/}-linux-amd64.tar.gz" "oshabi.desktop") sha256sums=('5b3f095a3107e97f16767821e37b54e4ee181a9a9db7e2e347bc8c414b26c4b3' '27038c830b270cc01df8fc989766e2eb444944a19230f4f25dae63c451456a9c') package() { _output="${srcdir}/${pkgname/-bin/}-linux-amd64-v${pkgver}" install -Dm0755 "${_output}/${pkgname/-bin/}" "${pkgdir}/usr/bin/${pkgname/-bin/}" install -Dm0644 -t "$pkgdir/usr/share/applications/" "oshabi.desktop" }