diff options
author | K | 2024-01-02 00:09:25 +0800 |
---|---|---|
committer | K | 2024-01-02 00:09:25 +0800 |
commit | 2a83949011ccd34f50cfd2d12ea1ac0c1cd0b88b (patch) | |
tree | be3eb346e9aab00531d10f49f2dc3431d45657f8 | |
parent | 92b024570238a62264f7437f7293a5d38f2040cc (diff) | |
download | aur-2a83949011ccd34f50cfd2d12ea1ac0c1cd0b88b.tar.gz |
fixed filename
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -6,21 +6,19 @@ pkgdesc='a command-line dictionary' arch=('x86_64') url='https://github.com/Karmenzind/kd' license=('MIT') -# 'kd::http://localhost:8901/kd_linux_amd64' +# 'kd::http://localhost:8901/kd_linux_amd64' source=( - 'https://github.com/Karmenzind/kd/releases/latest/download/kd_linux_amd64' + 'kd::https://github.com/Karmenzind/kd/releases/latest/download/kd_linux_amd64' 'kd.go::https://raw.githubusercontent.com/Karmenzind/kd/main/cmd/kd.go' ) sha256sums=('SKIP' 'SKIP') -# sha256sums=('75b450280572bdc340a5eac682ea7320776db78e378b5f0bd414a9f3538ee654' 'SKIP') - pkgver() { cat ${srcdir}/kd.go | grep 'var VERSION' | grep -o 'v[0-9]\+.[0-9]\+.[0-9]\+' # git describe --long --abbrev=7 | grep -o 'v[0-9]\+.[0-9]\+.[0-9]\+' } package() { - install -Dm744 "${srcdir}/kd" "${pkgdir}/usr/local/bin/kd" + install -Dm755 "${srcdir}/kd" "${pkgdir}/usr/local/bin/kd" } |