blob: 4c4336af58198dba20c44feda2b7ab7ab117b0e2 (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# Maintainer: Ivan Shapovalov <intelfx@intelfx.name>
pkgname=tsschecker-git
pkgver=r244.0f19839
pkgrel=1
pkgdesc="a powerfull tool to check tss signing status of various [Apple] devices and firmwares"
arch=(i686 x86_64)
url="https://github.com/tihmstar/tsschecker"
license=('LGPL3')
groups=()
depends=(libfragmentzip-git libirecovery-git libplist-git curl)
makedepends=('git')
provides=(tsschecker)
conflicts=(tsschecker)
source=(
"git+https://github.com/tihmstar/tsschecker"
"git+https://github.com/tihmstar/jssy"
)
md5sums=(
'SKIP'
'SKIP'
)
function pkgver() {
cd tsschecker
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
function prepare() {
cd tsschecker
local submodules=(
'external/jssy'
)
for submodule in "${submodules[@]}"; do
git submodule init "$submodule"
git config "submodule.$submodule.url" "$srcdir/${submodule##*/}"
git submodule update "$submodule"
done
}
build() {
cd tsschecker
./autogen.sh
./configure --prefix=/usr
make
}
package() {
cd tsschecker
make DESTDIR="$pkgdir" install
}
# vim:set ts=2 sw=2 et:
|