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
85f5e25aad
commit
9ed21f4bb3
2 changed files with 39 additions and 39 deletions
29
.SRCINFO
29
.SRCINFO
|
|
@ -1,28 +1,21 @@
|
|||
pkgbase = tensamin-git
|
||||
pkgdesc = True E2EE, decentralized messages. Open source and privacy first.
|
||||
pkgver = r470.29babf2
|
||||
pkgver = a0e947
|
||||
pkgrel = 1
|
||||
url = https://github.com/Tensamin/Frontend
|
||||
url = https://tensamin.net
|
||||
arch = x86_64
|
||||
arch = aarch64
|
||||
license = Custom
|
||||
license = custom
|
||||
makedepends = git
|
||||
makedepends = openssl
|
||||
makedepends = appmenu-gtk-module
|
||||
makedepends = libappindicator-gtk3
|
||||
makedepends = librsvg
|
||||
makedepends = cargo
|
||||
makedepends = npm
|
||||
makedepends = nodejs
|
||||
depends = cairo
|
||||
depends = desktop-file-utils
|
||||
depends = gdk-pixbuf2
|
||||
depends = glib2
|
||||
depends = gtk3
|
||||
depends = hicolor-icon-theme
|
||||
depends = libsoup
|
||||
depends = pango
|
||||
depends = webkit2gtk-4.1
|
||||
depends = nss
|
||||
depends = libxss
|
||||
depends = libxtst
|
||||
depends = xdg-utils
|
||||
depends = libappindicator-gtk3
|
||||
depends = libsecret
|
||||
provides = tensamin
|
||||
conflicts = tensamin
|
||||
conflicts = tensamin-bin
|
||||
source = git+https://github.com/Tensamin/Frontend.git
|
||||
sha256sums = SKIP
|
||||
|
|
|
|||
49
PKGBUILD
49
PKGBUILD
|
|
@ -1,34 +1,41 @@
|
|||
# Maintainer: Alois <alois@tensamin.net>
|
||||
|
||||
# Maintainer: Alois <aloisianer@proton.me>
|
||||
pkgname=tensamin-git
|
||||
_pkgname=tensamin
|
||||
pkgver=r470.29babf2
|
||||
_pkgver=0.1.3
|
||||
pkgver=a0e947
|
||||
pkgrel=1
|
||||
pkgdesc="True E2EE, decentralized messages. Open source and privacy first."
|
||||
arch=('x86_64' 'aarch64')
|
||||
url="https://github.com/Tensamin/Frontend"
|
||||
license=('Custom')
|
||||
depends=('cairo' 'desktop-file-utils' 'gdk-pixbuf2' 'glib2' 'gtk3' 'hicolor-icon-theme' 'libsoup' 'pango' 'webkit2gtk-4.1')
|
||||
makedepends=('git' 'openssl' 'appmenu-gtk-module' 'libappindicator-gtk3' 'librsvg' 'cargo' 'npm' 'nodejs')
|
||||
conflicts=('tensamin-bin')
|
||||
source=("git+${url}.git")
|
||||
arch=('x86_64')
|
||||
url="https://tensamin.net"
|
||||
license=('custom')
|
||||
depends=('gtk3' 'nss' 'libxss' 'libxtst' 'xdg-utils' 'libappindicator-gtk3' 'libsecret')
|
||||
makedepends=('git' 'npm')
|
||||
provides=('tensamin')
|
||||
conflicts=('tensamin' 'tensamin-bin')
|
||||
source=("git+https://github.com/Tensamin/Frontend.git")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd Frontend
|
||||
( set -o pipefail
|
||||
git describe --long --abbrev=7 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
|
||||
)
|
||||
cd "$srcdir/Frontend"
|
||||
git rev-parse HEAD | cut -c1-6
|
||||
}
|
||||
|
||||
build() {
|
||||
cd Frontend
|
||||
npx bun install
|
||||
npx bun tauri build -b deb
|
||||
sudo npm i -g bun
|
||||
|
||||
cd "$srcdir/Frontend"
|
||||
bun install
|
||||
bun run build
|
||||
|
||||
cd desktop
|
||||
bun install
|
||||
bun run build
|
||||
}
|
||||
|
||||
package() {
|
||||
cp -a Frontend/tauri/target/release/bundle/deb/tensamin_${_pkgver}_*/data/* "${pkgdir}"
|
||||
cd "$srcdir/Frontend/desktop/out/tensamin-linux-x64"
|
||||
|
||||
install -dm755 "${pkgdir}/usr/lib/tensamin"
|
||||
cp -r . "${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