blob: d2a12be7beec83b5bbb10d50331865e5ceee3e6d (
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
37
38
39
|
# Maintainer: Daniele Bartolini <dbartolini crownengine org>
replaces=('pepper')
pkgname=crown
pkgver=0.53.0
pkgrel=3
pkgdesc="A complete and cross-platform game engine designed for flexibility, performance, and fast-iterations."
arch=(x86_64)
url="https://www.crownengine.org"
license=('MIT' 'GPL3')
depends=('glib2>=2.64.6'
'gtk3>=3.24'
'libgee'
'libgl'
'libpulse'
'libx11'
'libxrandr'
)
source=("https://github.com/crownengine/crown/releases/download/v$pkgver/$pkgname-$pkgver-linux-x64.tar.gz"
"crown.sh"
)
sha256sums=('43855ca169a86d745f623bf3a23de555cd16aff0290e380c924ad1acc906c1a4'
'5f643f83399cfc0fb51b73e26e9080dd31b954db300868a2a2ca2734574b7113')
options=('!strip')
package() {
install -d "$pkgdir"/opt
cp -r $pkgname-$pkgver $pkgdir/opt/$pkgname
# Launcher.
install -D -m755 crown.sh "${pkgdir}/usr/bin/crown"
# License.
install -D -m644 $pkgname-$pkgver/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
# .desktop and icons.
install -D -m644 $pkgname-$pkgver/org.crownengine.Crown.desktop "${pkgdir}/usr/share/applications/org.crownengine.Crown.desktop"
install -D -m644 $pkgname-$pkgver/org.crownengine.Crown.svg "${pkgdir}/usr/share/icons/hicolor/scalable/apps/org.crownengine.Crown.svg"
}
|