blob: 0414578d71d36a2d477fc3f17f92a1d330372429 (
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
|
# Maintainer: myl7 <myl@myl.moe>
_pkgname=open-enclave
pkgname="$_pkgname-bin"
pkgver=0.19.7
pkgrel=1
pkgdesc='Open Enclave SDK'
arch=('x86_64')
url='https://openenclave.io/sdk/'
_giturl='https://github.com/openenclave/openenclave'
# Since it bundles all submodule deps
license=('Apache-2.0')
optdepends=(
'openssl-1.1: for bundled tools and linked with host part when building'
'clang14: can build'
)
changelog="$_pkgname.changelog.md"
source=(
"${_giturl}/releases/download/v${pkgver}/Ubuntu_2004_${_pkgname}_${pkgver}_amd64.deb"
'LICENSES'
)
# The following URL has not been updated:
# "https://packages.microsoft.com/ubuntu/20.04/prod/pool/main/o/${_pkgname}/${_pkgname}_${pkgver}_amd64.deb"
sha256sums=('1ee27053e9442619111b5252e02e381895ab79782450bd446faf85fa0cc510cd'
'a9c03d39d11e672c5f1df92576d8e02ee40c661830c9e759ed90b749193f4970')
# Open Enclave ships debug symbols as a SDK and it can be not good to strip them
options=(!strip !debug)
package() {
bsdtar -xf "$srcdir/data.tar.gz" -C "$pkgdir"
chmod -R g-w "$pkgdir/opt"
install -D -m644 "$srcdir/LICENSES" "$pkgdir/usr/share/licenses/${pkgname}/LICENSES"
}
|