Skip to content

Instantly share code, notes, and snippets.

@naxuroqa
Created January 18, 2019 08:14
Show Gist options
  • Save naxuroqa/a5984f9940a86d28dce3c8f1fdd85f70 to your computer and use it in GitHub Desktop.
Save naxuroqa/a5984f9940a86d28dce3c8f1fdd85f70 to your computer and use it in GitHub Desktop.
# Maintainer: naxuroqa <naxuroqa@gmail.com>
pkgname=venom
_pkgname=Venom
pkgver=0.5.3
pkgrel=1
pkgdesc='a modern Tox client for the Linux desktop'
url='https://github.com/naxuroqa/venom'
arch=(x86_64)
license=('GPL3')
depends=('libgee' 'toxcore' 'gspell' 'xdg-desktop-portal' 'sqlcipher')
makedepends=('vala' 'meson')
source=("https://github.com/naxuroqa/$_pkgname/archive/$pkgver.tar.gz")
sha512sums=('3b1ada00b7f708dabb2ef2cc9f886c7df9e7a716e91c691639803675cd4adf3d53ff791ca92d3ff6daa6aeab859db251edca911e77962811ce6278c47995c4a5')
check() {
ninja -C build test
}
build() {
exec meson setup \
--prefix /usr \
--libdir /usr/lib \
--libexecdir /usr/lib \
--bindir /usr/bin \
--sbindir /usr/bin \
--includedir /usr/include \
--datadir /usr/share \
--mandir /usr/share/man \
--infodir /usr/share/info \
--localedir /usr/share/locale \
--sysconfdir /etc \
--localstatedir /var \
--sharedstatedir /var/lib \
--buildtype release \
--auto-features enabled \
--wrap-mode nofallback \
-D b_lto=true \
$_pkgname-$pkgver build
ninja -C build
}
package() {
DESTDIR="$pkgdir" ninja -C build install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment