PKGBUILD.source
Rama main · réplica de lectura del repositorio original.
# Maintainer: toxdes <hi@toxdes.com>
pkgname=vylk
pkgver=3.1.1
pkgrel=1
pkgdesc="Lightweight, low-resource single-binary markdown notes editor"
arch=('x86_64' 'aarch64')
url="https://github.com/toxdes/vylk"
license=('MIT')
depends=()
makedepends=('git' 'go')
source=("git+https://github.com/toxdes/vylk.git#tag=v${pkgver}")
sha256sums=('SKIP')
build() {
cd "$srcdir/vylk"
go build -trimpath -ldflags "-s -w -X vylk/internal/server.version=${pkgver}" -o vylk ./cmd/vylk
}
package() {
cd "$srcdir/vylk"
install -Dm755 vylk "$pkgdir/usr/bin/vylk"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}