blob: 78d2a7ed0f1e230e6f4d7cfb682dceee59ec0d8c (
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
|
# Maintainer Ruijie Yu (first.last@outlook.com)
pkgname=appveyor-server
pkgver=7.0.3212
pkgrel=1
pkgdesc='Appveyor Server for Linux'
url='https://www.appveyor.com/self-hosted/'
arch=(x86_64)
license=(custom)
backup=(
etc/sudoers.d/appveyor-server-sudoers
)
depends=(
'dotnet-runtime'
'libcap'
)
makedepends=()
source=(
'https://www.appveyor.com/downloads/appveyor/appveyor-server.deb'
'appveyor-check-version.sh'
'ver.pgrep'
)
sha512sums=('6e6a5190636691a6df6e46f9f8d3cec9bdd34f4d4f5c8bc2e4cd1d71e49aabec9c9cfe20a8d0e9698c735779cd26d40d50920c5d12cd2b356d1f653d73655677' # 7.0.3212
'87be4ef80fba87fd648df4d98242131e18c290b831c0c91ef959f462eb167f607c088056831f0a2f3dbc679b8b4eb8e7596b641f57955eea63e4d1c29c8d93a8'
'a0c55edb4d482876566db8a3178b3d7a318acae4185dbe28cae83482ae45e122495a99109a7ddf44b499cfd51f5c63dbfe15f480aa28add27af9f893375cc974')
b2sums=('8c88fb83da04ab2b9dd7b5cd0bc2f4b04c7e92bd7a4a8d86ea8722bfc3429276dc6219d6364738250c191460b441a1e3121141092039a416fe1a6324f357367d' # 7.0.3212
'747cae436e1cc45871852c9070411ff11c82edf6f43723660684487b97df7a9ed69e468fb7d86b9dcc7899f915d6a443f14b18dcb4958fb4ea780885882db9f3'
'44c2025bf9eb1a9125cb2182a688ddc6abba2403232ed99b0292c1fbcabdfd2230f322f86822c46d3d1496a47c68117e5ca055d825bfc361bd00184b6f8c2400')
noextract=(
"${source[0]##*/}" # basename
)
pkgver() {
bash "${srcdir}/${source[1]}" out
}
package() {
bsdtar -O -xf "${srcdir}/${noextract[0]}" data.tar.xz | bsdtar -C "${pkgdir}" -xJf -
# move license
LICENSE_DIR="usr/share/licenses/${pkgname}"
ORIG_LICENSE="usr/share/doc/appveyor-server/copyright"
install -dm0755 "${pkgdir}/${LICENSE_DIR}"
mv "${pkgdir}/${ORIG_LICENSE}" "${pkgdir}/${LICENSE_DIR}/LICENSE"
ln -s "/${LICENSE_DIR}/LICENSE" "${pkgdir}/${ORIG_LICENSE}"
}
|