blob: 920edad8fdf643d1542c8d486c4d07968ad81398 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: wuxxin <wuxxin@gmail.com>
pkgname=coreos-installer
pkgver=0.23.0
pkgrel=1
pkgdesc="Installer for CoreOS disk images"
url="https://github.com/coreos/coreos-installer"
depends=('cargo')
arch=('x86_64')
license=('APACHE')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/coreos/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('8327a38065e1bafcd7aa5ca9cf74b631ee1110adb39267d104832c1b5ba06f44')
build() {
cd "${pkgname}-${pkgver}"
cargo build --release --locked
}
package() {
cd "${pkgname}-${pkgver}"
install -Dm755 "target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
install -Dm644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
}
|