mirror of
https://github.com/SinTan1729/lure-repo.git
synced 2024-12-25 22:38:36 -06:00
new : Added headscale
This commit is contained in:
parent
214cffdcee
commit
af9f249104
1 changed files with 26 additions and 0 deletions
26
headscale/lure.sh
Normal file
26
headscale/lure.sh
Normal file
|
@ -0,0 +1,26 @@
|
|||
name='headscale'
|
||||
version=VERSION
|
||||
release=1
|
||||
desc=' An open source, self-hosted implementation of the Tailscale control server'
|
||||
homepage='https://archlinux.org/packages/extra/x86_64/headscale/'
|
||||
architectures=('amd64')
|
||||
maintainer='SinTan1729'
|
||||
license=('BSD')
|
||||
provides=('headscale')
|
||||
conflicts=('headscale')
|
||||
|
||||
sources=()
|
||||
checksums=()
|
||||
|
||||
version() {
|
||||
printf "$(curl ${homepage} | sed -rn 's/<title>.*headscale (.*)-.*<\/title>/\1/p')"
|
||||
}
|
||||
|
||||
package() {
|
||||
# Pull sources
|
||||
echo "Pulling ${name} ${version}"
|
||||
curl -L "${homepage}/download/" -o ${name}.tar.zst
|
||||
# Build package
|
||||
echo "Creating the package"
|
||||
tar xf "${name}.tar.zst" -C ${pkgdir}
|
||||
}
|
Loading…
Reference in a new issue