blob: 2022a396f177bbb0d94984f68b6fb903dcb38ee3 (
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
|
# Maintainer: Darren Ng <$(base64 --decode <<<'VW4xR2ZuQGdtYWlsLmNvbQo=')>
pkgname=ldid-git
pkgver=v2.1.5.r96.gd38b9ed
pkgrel=1
pkgdesc="a tool used for ad-hoc codesigning iOS binaries"
arch=('any')
url="https://github.com/ProcursusTeam/ldid"
license=(AGPL3)
provides=('ldid' 'ldid2')
conflicts=('ldid' 'ldid2')
depends=(
'libplist'
'libxml2'
'openssl'
)
makedepends=(
'git'
'gcc'
'make'
)
source=("$pkgname::git+https://github.com/ProcursusTeam/ldid#branch=master")
sha512sums=("SKIP")
pkgver() {
cd "$pkgname"
( set -o pipefail
git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "0.0.0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
}
build() {
cd "$pkgname"
make
}
package() {
cd "$pkgname"
make install \
DESTDIR="$pkgdir" \
PREFIX="/usr"
}
|