summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9131930927950aadb9516ba19023695604b6c692 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Maintainer: naxuroqa <naxuroqa@gmail.com>

pkgname=venom-git
pkgver=r1190.f5dd584
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' 'gstreamer' 'gst-plugins-base' 'gst-plugins-good')
optdepends=('noto-fonts-emoji: Emoji font support')
makedepends=('vala' 'meson')
provides=('venom')
conflicts=('venom')

source=("$pkgname::git+https://github.com/naxuroqa/Venom#branch=develop")
sha512sums=('SKIP')

pkgver() {
  cd "$pkgname"
  echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}

check() {
  ninja -C build test
}

build() {
  arch-meson "$pkgname" build -D b_pie='false'
  ninja -C build
}

package() {
  DESTDIR="$pkgdir" ninja -C build install
}

# vim: ts=2 sw=2 et: