blob: 3a169881b51841610dc3ba6bd8b8acff17103de9 (
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
|
# Maintainer: Lucas Melo <luluco250 at gmail dot com>
pkgname=sonic2013-git
pkgver=r191.1046e22
pkgrel=1
pkgdesc='A full decompilation of Sonic 1 & 2 (2013).'
arch=('any')
url='https://github.com/Rubberduckycooly/Sonic-1-2-2013-Decompilation'
license=('unknown')
makedepends=('git')
depends=('sdl2' 'libogg' 'libtheora' 'libvorbis')
provides=(sonic2013)
source=(
"git+${url}.git"
'sonic1-launcher'
'sonic1.desktop'
'sonic2-launcher'
'sonic2.desktop')
sha256sums=(
'SKIP'
'ab7f0a5cd733730b1b6935b3c18b4c99a8d005c140c23296f14a135d1cd1b1f7'
'64f8afbdaa62a63fe9b55c2e0fafd419b80c3201f05e927b1381231ad05853e3'
'90a8eedbd3ef840185b13be9168f8636bca35ac00c70f3dcf9bb8a5ed4baa15b'
'a909f52d6b7b4a0d8f0ec11ab5469da3178f494b48865c82f6219e3a97dc666c')
install=sonic2013.install
pkgver() {
cd "$srcdir/Sonic-1-2-2013-Decompilation"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/Sonic-1-2-2013-Decompilation"
make ${MAKEFLAGS:--j$(nproc)}
}
package() {
install -Dm755 sonic1-launcher "$pkgdir/usr/bin/sonic1-launcher"
install -Dm644 sonic1.desktop "$pkgdir/usr/share/applications/sonic1.desktop"
install -Dm755 sonic2-launcher "$pkgdir/usr/bin/sonic2-launcher"
install -Dm644 sonic2.desktop "$pkgdir/usr/share/applications/sonic2.desktop"
cd "$srcdir/Sonic-1-2-2013-Decompilation/bin"
install -Dm755 sonic2013 "$pkgdir/usr/bin/sonic2013"
}
|