blob: 1419893d3ab0d8e4766492907ca86216ff078460 (
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
|
# Maintainer: taotieren <admin@taotieren.com>
pkgname=ll-killer-go-bin
# _tagname=1.4.26
# pkgver="${_tagname//-/_}"
pkgver=1.5.5
pkgrel=1
pkgdesc="玲珑杀手 Go: 玲珑应用快速构建系统"
arch=(aarch64 x86_64 loong64)
url="https://github.com/System233/ll-killer-go"
license=('MIT')
provides=(${pkgname%-bin})
conflicts=(${pkgname%-bin})
#replaces=(${pkgname%-bin})
depends=(
glibc
)
optdepends=(
'linyaps: Linglong is the container application toolkit of deepin.'
'apt: Command-line package manager used on Debian-based systems'
'apt-file: APT package searching utility'
)
makedepends=(
git
go
)
backup=()
options=('!strip' '!debug')
#install=${pkgname}.install
source=(
"ll-killer-x86_64-${pkgver}::${url}/releases/download/v${pkgver}/ll-killer-amd64"
"ll-killer-aarch64-${pkgver}::${url}/releases/download/v${pkgver}/ll-killer-arm64"
"ll-killer-loong64-${pkgver}::${url}/releases/download/v${pkgver}/ll-killer-loong64"
"LICENSE::https://github.com/System233/ll-killer-go/raw/refs/heads/main/LICENSE"
)
sha256sums=('c80033a54a5bb0e15102eadeaaebda59daa3d84d19979721cdf4b1866595dfe0'
'0dffc9eeb5e4ef48a75f642f796c013ffa1e22f78c14ae6b4738b1dfa4960af9'
'c71a498c784817a22a4602a46751197f01dabce88dd4cff4d818bff1b3d1a48e'
'687bf17b3dea772247820724ddbcb1a6dcb8ac48f9a85612d836b7ebfe11db36')
package() {
install -Dm755 "${srcdir}/ll-killer-${CARCH}-${pkgver}" ${pkgdir}/usr/bin/ll-killer
install -Dm0644 "${srcdir}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}/"
}
|