File PKGBUILD of Package minutor

pkgname=minutor
pkgver=2.3.0~20200107+0a720e5
pkgrel=1
pkgdesc="Minecraft mapping tool"
arch=('x86_64')
url="http://seancode.com/minutor/"
license=('BSD')
depends=('qt5-base' 'zlib')
makedepends=('qt5-tools')
source=("${pkgname}-${pkgver}.tar.xz"
        "xdg-categories.patch"
        "better-hidpi-support.patch")
sha1sums=('SKIP' 'SKIP' 'SKIP')

prepare() {
    cd ${pkgname}-${pkgver}
    patch -p1 -i "$srcdir/xdg-categories.patch"
    patch -p1 -i "$srcdir/better-hidpi-support.patch"
}

build() {
    cd ${pkgname}-${pkgver}
    qmake-qt5 -config release
    make
}

package() {
    cd ${pkgname}-${pkgver}
    make INSTALL_ROOT="${pkgdir}" install
}
openSUSE Build Service is sponsored by