File PKGBUILD of Package arnis
pkgname=arnis
pkgver=2.4.0
pkgrel=1
pkgdesc='Generate any location from the real world in Minecraft'
arch=('x86_64')
url="https://github.com/louis-e/${pkgname}"
license=('Apache-2.0')
depends=(
'bubblewrap'
'cairo'
'gcc-libs'
'gdk-pixbuf2'
'glib2'
'glibc'
'gtk3'
'hicolor-icon-theme'
'libsoup3'
'openssl'
'wayland'
'webkit2gtk-4.1'
)
provides=("${pkgname}")
conflicts=("${pkgname}")
source=("${pkgname}-linux-v${pkgver}::${url}/releases/download/v${pkgver}/${pkgname}-linux"
"${pkgname}.png::https://raw.githubusercontent.com/louis-e/${pkgname}/refs/heads/main/assets/icons/icon.png"
"${pkgname}.desktop")
sha256sums=('9764d9e8bf749acad7b9815b2f28aaccd9758ffd606a7ae17e9d6f8d3d60405b'
'SKIP'
'70eb77205fb1f39588a8296903919b05af7e77cfe2ab9c42849d81e7580fd231')
package() {
install -Dm755 "${pkgname}-linux-v${pkgver}" "${pkgdir}/usr/bin/${pkgname}"
install -Dm644 "${pkgname}.desktop" -t "${pkgdir}/usr/share/applications"
install -Dm644 "${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
}