Package Details: tensor-git r295.d01b8b8-1

Git Clone URL: https://aur.archlinux.org/tensor-git.git (read-only)
Package Base: tensor-git
Description: Cross-platform Qt5/QML-based Matrix client
Upstream URL: https://github.com/davidar/tensor
Licenses: GPL3
Submitter: peterhoeg
Maintainer: Score_Under
Last Packager: Score_Under
Votes: 4
Popularity: 0.158004
First Submitted: 2015-11-27 08:40
Last Updated: 2019-01-13 01:26

Latest Comments

aa13q commented on 2018-05-07 10:10

Hello! For anyone interested: feel free to change sources to:

source=('git+https://github.com/Quiark/tensor.git'
        'git+https://github.com/QMatrixClient/libqmatrixclient.git'
        'tensor.desktop')

to get Quiark maintained fork

peterhoeg commented on 2016-10-12 06:58

Hereby disowned. Not using Arch any longer.

dhampire commented on 2016-10-11 11:57

_pkgbase=tensor
pkgname=${_pkgbase}-git
pkgver=r295.d01b8b8
pkgrel=1
pkgdesc='Matrix QML client'
arch=('x86_64' 'i686')
url=http://www.matrix.org
license=('GPL')
depends=('qt5-base')
source=("git+https://github.com/davidar/${_pkgbase}.git"
"git+https://github.com/Fxrh/libqmatrixclient.git"
tensor.desktop)
sha1sums=('SKIP'
'SKIP'
'4f03c6d93dce615c02360f3b2ab42e6aee883147')

pkgver() {
cd ${srcdir}/${_pkgbase}
( set -o pipefail
git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
}

prepare() {
cd ${srcdir}/${_pkgbase}
git config submodule.lib.url $srcdir/libqmatrixclient
git submodule update --init
#git submodule update --init
}

build() {
cd ${srcdir}/${_pkgbase}
qmake
make
}

package() {
cd ${srcdir}/${_pkgbase}

#for r in 16 24 32 48 64 128 192 256 384 ; do
#_icondir=${pkgdir}/usr/share/icons/hicolor/${r}x${r}/apps
#mkdir -p $_icondir
#convert -resize ${r}x${r} src/logo.png ${_icondir}/tensor.png
#done

mkdir -p $pkgdir/usr/bin
install -m755 tensor $pkgdir/usr/bin/tensor

mkdir -p $pkgdir/usr/share/applications
install -m644 $srcdir/tensor.desktop $pkgdir/usr/share/applications/tensor.desktop
}

most correct PKGBUILD

vith commented on 2016-05-14 01:14

==> ERROR: url should not be an array

also

==> Starting prepare()...
Submodule 'lib' (https://github.com/davidar/libqmatrixclient.git) registered for path 'lib'
Cloning into 'lib'...
remote: Counting objects: 162, done.
remote: Total 162 (delta 0), reused 0 (delta 0), pack-reused 162
Receiving objects: 100% (162/162), 58.87 KiB | 0 bytes/s, done.
Resolving deltas: 100% (109/109), done.
Checking connectivity... done.
Submodule path 'lib': checked out 'aa8b077499653b6ebf2d78136c75c801e6f99c29'
/home/vith/aur/tensor-git/PKGBUILD: line 28: cd: matrix-js-sdk: No such file or directory
==> ERROR: A failure occurred in prepare().
Aborting...
:: failed to build tensor-git package(s)