blob: a8e5cab4bb6647026ecab46dc11e73e462725671 (
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
|
# Maintainer: André Kugland <kugland@gmail.com>
_pkgname=neocities-deploy
pkgname=$_pkgname-bin
pkgdesc='Command-line tool for deploying your Neocities site (prebuilt statically-linked binary)'
url="https://github.com/kugland/$_pkgname"
pkgver=0.1.13
pkgrel=4
arch=('x86_64' 'i686' 'aarch64' 'armv7h')
license=('GPL-3.0-or-later')
source=("$_pkgname-$pkgver.tar.gz::${url}/archive/refs/tags/v$pkgver.tar.gz") # For README.md
source_x86_64=("$_pkgname-$pkgver-bin-x86_64.tar.gz::${url}/releases/download/v$pkgver/$_pkgname-Linux-x86_64-musl.tar.gz")
source_i686=("$_pkgname-$pkgver-bin-i686.tar.gz::${url}/releases/download/v$pkgver/$_pkgname-Linux-i686-musl.tar.gz")
source_aarch64=("$_pkgname-$pkgver-bin-aarch64.tar.gz::${url}/releases/download/v$pkgver/$_pkgname-Linux-aarch64-musl.tar.gz")
source_armv7h=("$_pkgname-$pkgver-bin-arm.tar.gz::${url}/releases/download/v$pkgver/$_pkgname-Linux-arm-musl.tar.gz")
sha256sums=('a2ba99d00169782c48b4133fbbe50e7e605c0905048d5762479e64dadea3addc')
sha256sums_x86_64=('305be962182a477c6259f9a0a56e0c02c96ddb23b72f82b05f5390f6ca5f9f73')
sha256sums_i686=('aef75641fbefae847b3c2d5861ee224fa2cd489c7bb4208e4c942da9f0528ce9')
sha256sums_aarch64=('ee612221363537a24e48b4f640dd134943c12c87b7b6d4ffacf7cd07fe190dd5')
sha256sums_armv7h=('199d5e59bd3929067aea47b4c3752bcf486293f12d49666ae103b8a2ff3da26e')
package() {
cd "$srcdir"
install -Dm0755 -t "$pkgdir/usr/bin/" neocities-deploy
cd "$srcdir/$_pkgname-$pkgver"
install -Dm0644 -t "$pkgdir/usr/doc/$_pkgname/" README.md
}
|