# Maintainer: Fabian Bornschein <fabiscafe-cat-mailbox-dog-org>
pkgname=tuba
pkgver=0.3.1
pkgrel=1
pkgdesc='Browse the Fediverse'
arch=(
aarch64 #ALARM
armv7h #ALARM
i686 #Arch Linux32
x86_64 #Arch Linux
)
url='https://tuba.geopjr.dev/'
license=('GPL3')
depends=(
gtk4
libadwaita
libgee
libsoup3
gtksourceview5
)
makedepends=(
git
meson
vala
)
optdepends=(
## https://github.com/GeopJr/Tuba/issues/32#issuecomment-1483280966
'webp-pixbuf-loader: calckey support (webp)'
)
_commit=825dbced1179f947d5c01f769a0e81c6098727a1 # tags/0.3.1^0
source=("git+https://github.com/GeopJr/Tuba.git#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd Tuba
git describe --tags | sed -r 's/^v//;s/[^-]*-g/r&/;s/-/+/g'
}
prepare() {
cd Tuba
}
build() {
arch-meson Tuba build
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
meson install -C build --destdir "$pkgdir"
ln -s "/usr/bin/dev.geopjr.Tuba" "$pkgdir/usr/bin/tuba"
}
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}