Created
September 11, 2020 04:25
-
-
Save oct2pus/ecb976208e5cf04b26452c8522c74e2d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Maintainer: Octopus Octopus <[email protected]> | |
| # Maintainer: Wesley Moore <[email protected]> | |
| 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" | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
quick note, this depends on https://aur.archlinux.org/packages/libhandy1/, so you'll have to build libhandy1 before you can build tootle.