123456789101112131415161718192021222324252627282930313233 |
- # Maintainer: txtsd <aur.archlinux@ihavea.quest>
- # Maintainer: Atakku <atakkudev@gmail.com>
- pkgname=blockbench-bin
- _pkgname=blockbench
- provides=(blockbench)
- conflicts=(blockbench)
- pkgname_orig=Blockbench
- pkgver=4.6.5
- pkgrel=1
- pkgdesc="A low-poly 3D model editor"
- arch=('x86_64')
- url="https://blockbench.net/"
- license=('GPL3')
- depends=('gtk3' 'nss' 'giblib' 'at-spi2-core' 'alsa-lib')
- makedepends=('gzip')
- source=("https://github.com/JannisX11/blockbench/releases/download/v${pkgver}/Blockbench_${pkgver}.deb")
- sha512sums=('a0a829d13f518c4ac257ac10b2c70139164758eaf572e089bf54f6616b01f93b230fd32029dcbfc757952e7ea892bec13675c6e0b56cafeaf34a58fb7bcbeabe')
- package() {
- msg2 "Extracting the data.tar.xz..."
- bsdtar -xf data.tar.xz -C "${pkgdir}/"
- msg2 "Moving the files..."
- mv "${pkgdir}/opt/${pkgname_orig}" "${pkgdir}/opt/${_pkgname}"
- gzip -d "${pkgdir}/usr/share/doc/${_pkgname}/changelog.gz"
- sed -i "s:/opt/${pkgname_orig}:/opt/${_pkgname}:" "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
- mkdir -p "${pkgdir}/usr/bin"
- ln -s "/opt/${_pkgname}/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
- }
|