blob: 8dbc46c77ab03ef8669f457ee3a8fcd2e4354f68 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Maintainer: Echo J. <aidas957 at gmail dot com>
# shellcheck shell=bash disable=SC2034,SC2164
# Inspired by the arnis PKGBUILD (https://aur.archlinux.org/packages/arnis)
_pkgname=arnis
pkgname=arnis-bin
pkgver=2.2.0
pkgrel=1
pkgdesc='Generate any location from the real world in Minecraft (binary version)'
arch=('x86_64')
url="https://github.com/louis-e/${_pkgname}"
license=('Apache-2.0')
depends=('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"
"README-v${pkgver}::${url}/raw/v${pkgver}/README.md"
"${_pkgname}-512x-v${pkgver}.png::${url}/raw/v${pkgver}/icons/icon.png"
"${_pkgname}-128x-v${pkgver}.png::${url}/raw/v${pkgver}/icons/128x128.png"
"${_pkgname}.desktop")
sha256sums=('fb6863e9676592815843414e071cf4dc5f8e6f8816ce33ed47ee6b78c4d21343'
'f7eeefefa7064ac9a05589fdf492f9baaae8337e2a0d48b7145db2fd1e314c31'
'7bf44562b882ed7f6ca52ee7f67b80dd5eaef1301c0c1275ec2f7e571ce985b5'
'860c74a299aac6f7645f62e127f21ae5df43fc8fb946cfa5bb96f90c54f0cdb3'
'70eb77205fb1f39588a8296903919b05af7e77cfe2ab9c42849d81e7580fd231')
package() {
install -Dm755 "${_pkgname}-linux-v${pkgver}" "${pkgdir}/usr/bin/${_pkgname}"
install -Dm644 "README-v${pkgver}" "$pkgdir/usr/share/doc/${pkgname}/README.md"
# Desktop integration files
install -Dm644 "${_pkgname}.desktop" -t "${pkgdir}/usr/share/applications"
install -Dm644 "${_pkgname}-512x-v${pkgver}.png" "${pkgdir}/usr/share/icons/hicolor/512x512/apps/${_pkgname}.png"
install -Dm644 "${_pkgname}-128x-v${pkgver}.png" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/${_pkgname}.png"
}
|