Skip to content

Instantly share code, notes, and snippets.

@oct2pus
Created September 11, 2020 04:25
Show Gist options
  • Save oct2pus/ecb976208e5cf04b26452c8522c74e2d to your computer and use it in GitHub Desktop.
Save oct2pus/ecb976208e5cf04b26452c8522c74e2d to your computer and use it in GitHub Desktop.
# Maintainer: Octopus Octopus <oct2pus@jade.moe>
# Maintainer: Wesley Moore <wes@wezm.net>
pkgname=tootle
pkgver=1.0
subver="alpha1"
pkgrel=4
pkgdesc="GTK3 client for Mastodon"
arch=('x86_64')
url="https://github.com/bleakgrey/tootle"
license=('GPL3')
depends=('glib2' 'gtk3' 'hicolor-icon-theme' 'libsoup' 'libhandy1' 'json-glib')
optdepends=('noto-fonts-emoji: color emoji')
makedepends=('git' 'desktop-file-utils' 'hicolor-icon-theme' 'intltool' 'yelp-tools' 'gnome-common' 'gobject-introspection' 'meson' 'ninja' 'vala')
options=('!libtool')
source=("https://github.com/bleakgrey/$pkgname/archive/v$pkgver-$subver.tar.gz ")
sha256sums=('03aad41beb9f8b2b38c8e6a14b71ab16c99a4ce654c59de8aed62af5ea55fafd')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}-${subver}"
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}-${subver}"
arch-meson -Db_pie=false build
ninja -C build
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}-${subver}"
DESTDIR="${pkgdir}/" ninja -C build install
ln -s "/usr/bin/com.github.bleakgrey.tootle" "${pkgdir}/usr/bin/tootle"
}
@oct2pus
Copy link
Author

oct2pus commented Sep 11, 2020

quick note, this depends on https://aur.archlinux.org/packages/libhandy1/, so you'll have to build libhandy1 before you can build tootle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment