diff options
author | Christian Muehlhaeuser | 2019-05-26 18:27:11 +0200 |
---|---|---|
committer | Christian Muehlhaeuser | 2019-05-26 18:27:11 +0200 |
commit | 876184f49cba811d40bf0db099ec7031068dccc6 (patch) | |
tree | 5298f066739f911d31a0d2b2ece9eb7ae6efead4 | |
download | aur-876184f49cba811d40bf0db099ec7031068dccc6.tar.gz |
Initial commit for package telephant-git
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 44 |
2 files changed, 64 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c0fc6177c542 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = telephant-git + pkgdesc = A lightweight but modern Mastodon client, written in Go & QML + pkgver = 20190525 + pkgrel = 1 + url = https://github.com/muesli/telephant + arch = x86_64 + license = MIT + makedepends = go + makedepends = pkgconf + makedepends = qt5-tools + makedepends = git + makedepends = libpulse + makedepends = glib2 + makedepends = mesa + depends = qt5-base + provides = telephant + conflicts = telephant + +pkgname = telephant-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..02bcd15a0d6f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: Christian Muehlhaeuser <muesli at gmail dot com> +# Maintainer: MOTT <ted.jameson at pm dot me> +pkgname=telephant-git +pkgver=20190525 +pkgrel=1 +epoch= +pkgdesc="A lightweight but modern Mastodon client, written in Go & QML" +arch=('x86_64') +url="https://github.com/muesli/telephant" +license=('MIT') +groups=() +depends=('qt5-base') +makedepends=('go' 'pkgconf' 'qt5-tools' 'git' 'libpulse' 'glib2' 'mesa') +checkdepends=() +optdepends=() +provides=("telephant") +conflicts=("telephant") +replaces=() +backup=() +options=() +install= +noextract=() +#source=($pkgname::git://github.com/muesli/telephant.git) +#md5sums=("SKIP") + +build() { + export GOPATH="$srcdir"/gopath + export QT_PKG_CONFIG=true + export QT_DIR=/usr + + # Qt Bindings + go get -u -v -tags=no_env github.com/therecipe/qt/cmd/... + $(go env GOPATH)/bin/qtsetup -test=false + + # Building Telephant + go get -d -v github.com/muesli/telephant + cd gopath/src/github.com/muesli/telephant + $(go env GOPATH)/bin/qtdeploy build desktop . +} + + +package() { + install -Dm755 "gopath/src/github.com/muesli/telephant/deploy/linux/telephant" "$pkgdir/usr/bin/telephant" +} |