blob: f6aad77ce2ae99c6c38f80487b0d39097fc20ffe (
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
|
# Maintainer: Paolo Viotti <skypixel@gmail.com>
pkgname=edumips64
pkgver=1.3.0
pkgrel=1
pkgdesc="Cross-platform educational MIPS64 CPU simulator"
arch=('any')
url="https://www.edumips.org"
license=('GPL')
depends=('java-runtime')
source=(https://github.com/EduMIPS64/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.jar
$pkgname.desktop
$pkgname.png
$pkgname)
sha256sums=('499e473a9ddd6d62007c36f1448345a1909194f40a1adf9b6c57a92df0fd08bb'
'95ac7ee775fc01c9868fcba81b89c11bd104531c4d48316721e8a2ff9ef29922'
'25d07c621bd61d1153e1ebf21a2d111a46ec1d74f8c8887ddade423cadbd47d4'
'e0ba9997d2fa5239b4e114c1b23fa091063927387d76c641bc1eebc26955b24a')
package() {
cd "${srcdir}"
install -Dm644 "${srcdir}/$pkgname-$pkgver.jar" "${pkgdir}/usr/share/$pkgname/$pkgname.jar"
install -Dm755 "${srcdir}/$pkgname" "${pkgdir}/usr/bin/$pkgname"
# icon and .desktop file
install -Dm644 "${srcdir}/$pkgname.desktop" "${pkgdir}/usr/share/applications/$pkgname.desktop"
install -Dm644 "${srcdir}/$pkgname.png" "${pkgdir}/usr/share/pixmaps/$pkgname.png"
}
|