blob: 013389ac278c398ea6ddb6dca604d765f729c140 (
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
|
# Maintainer: alyrow
pkgname=hyperlap2d-bin
pkgver=0.1.4
pkgrel=1
pkgdesc="A powerful, platform-independent, visual editor for complex 2D worlds and scenes."
arch=('x86_64')
url="https://hyperlap2d.rednblack.games/"
license=('GPL3')
conflicts=("hyperlap2d-git")
provides=("hyperlap2d")
depends=('libxi' 'java-runtime')
makedepends=('binutils' 'tar')
optdepends=()
source=("$pkgname-$pkgver.deb::https://github.com/rednblackgames/HyperLap2D/releases/download/v${pkgver}/Linux.hyperlap2d_${pkgver}-1_amd64.deb")
sha512sums=('ac5cef85f990ba3c9b9215891a277bcc906d0301aeabd401fb7cceca47a37757a576a3706be2ac10ca290bdd1e1427a3557357e9358b8552b30b883ca2edd1c9')
build() {
ar xv ${pkgname}-${pkgver}.deb
tar -xvf data.tar.zst
}
package() {
mkdir -p "${pkgdir}/opt/hyperlap2d/"
cp -R "${srcdir}/opt" "${pkgdir}"
mkdir -p "${pkgdir}/usr/bin"
ln -s "/opt/hyperlap2d/bin/HyperLap2D" "${pkgdir}/usr/bin/hyperlap2d"
install -Dm644 "${srcdir}/opt/hyperlap2d/lib/hyperlap2d-HyperLap2D.desktop" "${pkgdir}/usr/share/applications/hyperlap2d-HyperLap2D.desktop"
install -Dm644 "${srcdir}/opt/hyperlap2d/lib/HyperLap2D.png" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/HyperLap2D.png"
}
|