mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
Tailscale 1.0.0-1
This commit is contained in:
commit
8b0da70c51
2 changed files with 52 additions and 0 deletions
18
.SRCINFO
Normal file
18
.SRCINFO
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
pkgbase = tailscale
|
||||
pkgdesc = Unnofficial Tailscale desktop application
|
||||
pkgver = 1.0.0
|
||||
pkgrel = 1
|
||||
url = https://gitlab.com/tailscaledesktop/application
|
||||
arch = x86_64
|
||||
arch = aarch64
|
||||
license = GPL
|
||||
makedepends = unzip
|
||||
depends = libelectron
|
||||
depends = nss
|
||||
depends = gtk3
|
||||
depends = libxss
|
||||
depends = git
|
||||
source = https://gitlab.com/tailscaledesktop/application/-/archive/1.0.0-1/application-1.0.0-1.tar.bz2
|
||||
sha256sums = SKIP
|
||||
|
||||
pkgname = tailscale
|
||||
34
PKGBUILD
Executable file
34
PKGBUILD
Executable file
|
|
@ -0,0 +1,34 @@
|
|||
pkgname=tailscale
|
||||
_pkgname=Tailscale
|
||||
pkgver=1.0.0
|
||||
pkgrel=1
|
||||
pkgdesc="Unnofficial Tailscale desktop application"
|
||||
arch=('x86_64' 'aarch64')
|
||||
url="https://gitlab.com/tailscaledesktop/application"
|
||||
license=('GPL')
|
||||
depends=('libelectron' 'nss' 'gtk3' 'libxss' 'git')
|
||||
makedepends=('unzip')
|
||||
source=("https://gitlab.com/tailscaledesktop/application/-/archive/$pkgver-$pkgrel/application-$pkgver-$pkgrel.tar.bz2")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
|
||||
package() {
|
||||
for dir in application-$pkgver-$pkgrel ; do mv "${dir}" "$_pkgname" ;done
|
||||
cd "$srcdir/$_pkgname"
|
||||
chmod +x $pkgname.sh
|
||||
ln -sf "/opt/libelectron/node_modules" "$srcdir/$_pkgname"
|
||||
install -dm755 "$pkgdir/opt/$_pkgname"
|
||||
install -dm755 "$pkgdir/usr/share/pixmaps"
|
||||
cp -r ./ "$pkgdir/opt/$_pkgname"
|
||||
cp -r "$pkgdir/opt/$_pkgname/$pkgname.svg" "$pkgdir/usr/share/pixmaps"
|
||||
|
||||
|
||||
# Link to binary
|
||||
install -dm755 "$pkgdir/usr/bin"
|
||||
ln -s "/opt/$_pkgname/$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
|
||||
|
||||
# Desktop Entry
|
||||
install -Dm644 "$srcdir/$_pkgname/$_pkgname.desktop" \
|
||||
"$pkgdir/usr/share/applications/$_pkgname.desktop"
|
||||
sed -i s%/usr/share%/opt% "$pkgdir/usr/share/applications/$_pkgname.desktop"
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue