12345678910111213141516171819202122232425262728293031323334 |
- # Maintainer: txtsd <aur.archlinux@ihavea.quest>
- pkgname=stevenarella-git
- _pkgname=stevenarella
- pkgver=r972.g45f9cd4
- pkgrel=2
- pkgdesc='Multi-protocol Minecraft-compatible client written in Rust'
- arch=('x86_64')
- url='https://github.com/iceiix/stevenarella'
- license=('APACHE' 'MIT')
- depends=('openssl' 'rust' 'xcb-util')
- makedepends=('git')
- source=("git+https://github.com/iceiix/stevenarella.git")
- sha512sums=('SKIP')
- pkgver() {
- cd "${srcdir}/${_pkgname}"
- echo r$(git rev-list --all --count).g$(git rev-parse --short HEAD)
- }
- package() {
- cd "${srcdir}/${_pkgname}"
- CARGO_INSTALL_ROOT="${pkgdir}/usr" cargo install --path .
- rm "${pkgdir}/usr/.crates.toml"
- rm "${pkgdir}/usr/.crates2.json"
- install -Dm644 "${srcdir}/${_pkgname}/LICENSE-APACHE" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE-APACHE"
- install -Dm644 "${srcdir}/${_pkgname}/LICENSE-MIT" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE-MIT"
- install -Dm644 "${srcdir}/${_pkgname}/resources/icon128x128.png" "${pkgdir}/usr/share/pixmaps/${_pkgname}.png"
- }
|