blob: 64725adbd92a2810f0087aee6dd29505a3029312 (
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
40
41
42
43
44
45
46
|
# Maintainer: Ben DeCamp <ben_decamp@outlook.com>
pkgname=retro-graphics-toolkit
pkgver=1.1RC
pkgrel=1
pkgdesc="Retro Graphics Editor for Video Game Consoles"
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url="https://github.com/ComputerNerd/Retro-Graphics-Toolkit"
license=('GPLv3')
groups=()
depends=('fltk')
_gitcommit="c5e91e165aeb97a6cb7d6b15189538046cd301f0"
_luaver=5.3.5
source=(https://github.com/ComputerNerd/Retro-Graphics-Toolkit/archive/$_gitcommit.zip
https://www.lua.org/ftp/lua-$_luaver.tar.gz
lua-Makefile.patch
retro-graphics-toolkit.desktop
retro-graphics-toolkit.png
RetroGraphicsToolkit.sh
)
md5sums=('a71b4960dabbdafb1bd5f7baacc21317'
'4f4b4f323fd3514a68e0ab3da8ce3455'
'2cb035965ad4c8b82ffc4235ef98855b'
'40d2bcd7d7ad3de6f67b29b28935ec57'
'272d6ba5c03ec6e688bb7312abb88568'
'0b1b08ffcbddd6400a07ce3a3fbc0172')
build() {
patch $srcdir/lua-$_luaver/src/Makefile < lua-Makefile.patch
cd $srcdir/lua-$_luaver/src
make linux
mv $srcdir/lua-$_luaver/ $srcdir/Retro-Graphics-Toolkit-$_gitcommit/lua
cd $srcdir/Retro-Graphics-Toolkit-$_gitcommit
make
}
package() {
install -Dm644 "$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
install -d "$pkgdir/opt/$pkgname"
install "$srcdir/Retro-Graphics-Toolkit-$_gitcommit/RetroGraphicsToolkit" "$pkgdir/opt/$pkgname/RetroGraphicsToolkit"
install -D $srcdir/Retro-Graphics-Toolkit-$_gitcommit/*.lua "$pkgdir/opt/$pkgname/"
install -d "$pkgdir/usr/bin"
install "$srcdir/RetroGraphicsToolkit.sh" $pkgdir/usr/bin/RetroGraphicsToolkit
}
|