blob: 8dd0a11e132692c2a476a7968ab02d113be28e2a (
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
32
33
34
35
36
|
# Maintainer: not_anonymous <nmlibertarian@gmail.com>
# Contributor: Emeric Grange <emeric.grange@gmail.com>
# Contributor: Matej Stuchlik <matej.stuchlik at gmail dot com>
pkgname=openrocket
_pkgname=OpenRocket
pkgver=23.09
pkgrel=1
pkgdesc="A free and fully featured rocket flight simulator - 6 degrees of freedom"
arch=('any')
url=http://openrocket.info/
license=('GPL3')
depends=('java-environment=17' 'desktop-file-utils')
source=("https://github.com/$pkgname/$pkgname/releases/download/release-$pkgver/$_pkgname-$pkgver.jar"
$pkgname.1
de_debian.tar.gz)
noextract=($_pkgname-$pkgver.jar)
package() {
cd $srcdir
install -Dm644 OpenRocket-$pkgver.jar $pkgdir/usr/share/java/$pkgname/$pkgname.jar
install -Dm755 $pkgname.1 $pkgdir/usr/bin/$pkgname
install -Dm644 de_debian/$pkgname.1 $pkgdir/usr/share/man/man1/$pkgname.1
find "$pkgdir/usr/share/man/man1" -name *.1 -exec gzip -9 {} +
install -Dm644 de_debian/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
install -Dm644 de_debian/$pkgname.xpm $pkgdir/usr/share/pixmaps/$pkgname.xpm
}
md5sums=('51ad74a4cf53e799901effa3ef0683c4'
'54eb3c1641feb1eac7d4e4d9e912434a'
'f8edc554065e121767355936727fc88a')
sha256sums=('65cc0ab68a536fc33fc02a84c416725523a82745e100356efd9ff890b43bfcd0'
'74ab605cb11161784d4af96d018eb88adf7a2e4a8b1088a64b94b1e8ec5e18d1'
'62c4e739f82fa53fdae8a41f12bfb2828b77df89c8f48b1a790192a8e773cb98')
|