mirror of
https://github.com/archlinux/aur.git
synced 2025-12-10 08:05:42 +01:00
Automated Update
This commit is contained in:
parent
e5eaaf200b
commit
ec8f15af16
2 changed files with 15 additions and 11 deletions
4
.SRCINFO
4
.SRCINFO
|
|
@ -1,14 +1,12 @@
|
|||
pkgbase = tensamin-git
|
||||
pkgdesc = True E2EE, decentralized messages. Open source and privacy first.
|
||||
pkgver = c00b31
|
||||
pkgver = 3336ea
|
||||
pkgrel = 1
|
||||
url = https://tensamin.net
|
||||
arch = x86_64
|
||||
license = custom
|
||||
makedepends = git
|
||||
makedepends = npm
|
||||
makedepends = dpkg
|
||||
makedepends = fakeroot
|
||||
depends = gtk3
|
||||
depends = nss
|
||||
depends = libxss
|
||||
|
|
|
|||
22
PKGBUILD
22
PKGBUILD
|
|
@ -1,13 +1,13 @@
|
|||
# Maintainer: Alois <aloisianer@proton.me>
|
||||
pkgname=tensamin-git
|
||||
pkgver=c00b31
|
||||
pkgver=3336ea
|
||||
pkgrel=1
|
||||
pkgdesc="True E2EE, decentralized messages. Open source and privacy first."
|
||||
arch=('x86_64')
|
||||
url="https://tensamin.net"
|
||||
license=('custom')
|
||||
depends=('gtk3' 'nss' 'libxss' 'libxtst' 'xdg-utils' 'libappindicator-gtk3' 'libsecret')
|
||||
makedepends=('git' 'npm' 'dpkg' 'fakeroot')
|
||||
makedepends=('git' 'npm')
|
||||
provides=('tensamin')
|
||||
conflicts=('tensamin' 'tensamin-bin')
|
||||
source=("git+https://github.com/Tensamin/Frontend.git")
|
||||
|
|
@ -27,15 +27,21 @@ build() {
|
|||
|
||||
cd desktop
|
||||
bun install
|
||||
bun run build
|
||||
bun run build:git
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/Frontend/desktop/out/tensamin-linux-x64"
|
||||
|
||||
install -dm755 "${pkgdir}/usr/lib/tensamin"
|
||||
cp -r . "${pkgdir}/usr/lib/tensamin/"
|
||||
|
||||
cd "$srcdir/Frontend/desktop/out"
|
||||
|
||||
zipfile=$(find "$PWD" -path '*zip/linux/x64/*.zip' -print -quit)
|
||||
[[ -n "$zipfile" ]] || { echo "tensamin zip artifact not found"; exit 1; }
|
||||
|
||||
extracted_dir=$(bsdtar -tf "$zipfile" | head -1 | cut -d/ -f1)
|
||||
|
||||
install -dm755 "${pkgdir}/usr/lib"
|
||||
bsdtar -xf "$zipfile" -C "${pkgdir}/usr/lib"
|
||||
mv "${pkgdir}/usr/lib/${extracted_dir}" "${pkgdir}/usr/lib/tensamin"
|
||||
|
||||
install -dm755 "${pkgdir}/usr/bin"
|
||||
ln -s /usr/lib/tensamin/tensamin "${pkgdir}/usr/bin/tensamin"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue