summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3865f83845c2a74cc6a45b1341e3ccae4108bad3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Abdelhakim Qbaich <abdelhakim@qbaich.com>

pkgname='rars'
pkgver=1.5
pkgrel=1
pkgdesc='RISC-V Assembler and Runtime Simulator'
arch=('any')
url="https://github.com/TheThirdOne/$pkgname"
license=('MIT')
depends=('java-runtime')
source=("$url/releases/download/v$pkgver/$pkgname${pkgver//./_}.jar"
        "https://raw.githubusercontent.com/TheThirdOne/$pkgname/v$pkgver/License.txt"
        "$pkgname.sh")
noextract=("$pkgname${pkgver//./_}.jar")
sha256sums=('c3be607c045f478e94a7aaa78351982f4bbc10d7e90f7c47865ff2a7d9447141'
            'ee3e447d4d5b1f3ed6bc8a71939d06637338fb247777b3e3b60b6202d0712652'
            'ab5b088335e5f189eaffa3399e764d85ad5069bb266a68a5640d2732504c5b56')

package() {
	install -Dm644 "$pkgname${pkgver//./_}.jar" "$pkgdir/usr/share/java/$pkgname/$pkgname.jar"
	install -Dm644 License.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
	install -Dm755 "$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
}