diff options
author | Vitor Gonçalves | 2022-01-04 16:33:29 -0300 |
---|---|---|
committer | Vitor Gonçalves | 2022-01-04 16:33:29 -0300 |
commit | f80746db1f96969b60cde99349183d4028db0278 (patch) | |
tree | 77cc5d1ccac4cb3093879f9abdd19b0a58c7944b /PKGBUILD | |
parent | 09a8479228a1665846dc499f409414e0638ad074 (diff) | |
download | aur-zap-aur-git.tar.gz |
changed source url, following packaging guidelines and stuff
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,11 +1,11 @@ -# Maintainer: vitorg <vitorg at ctrl-c dot club> +# Maintainer: vitorg <vitorg at envs dot net> _pkgname=zap-aur pkgname="${_pkgname}-git" pkgver=r22.af87462 pkgrel=1 pkgdesc="A lightning fast AUR searcher" arch=("x86_64") -url="https://github.com/Bowuigi/Zap" +url="https://codeberg.org/Bowuigi/Zap" license=("GPL3") depends=("lua>=5.1") makedepends=("git") @@ -21,6 +21,7 @@ pkgver() { package() { cd "${srcdir}/${_pkgname}" - install -Dm755 "zap" -t "${pkgdir}/usr/local/bin/" + sed -i "s@#!/usr/bin/lua5.3@#!/usr/bin/lua$(lua -v | awk '{print $2}' | awk -F . '{print $1,$2}' | sed "s/ /./")@" "zap" + install -Dm755 "zap" -t "${pkgdir}/usr/bin/" install -D "rxi-json.lua" -t "${pkgdir}/usr/share/lua/$(lua -v | awk '{print $2}' | awk -F . '{print $1,$2}' | sed "s/ /./")/" } |