summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4d1d936862b0b06ba8cbd32ac08f82ff8cad031f (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
38
39
# Maintainer: willemw <willemw12@gmail.com>
# Contributor: Doug Newgard <scimmia at archlinux dot info>
# Contributor: jus <jus@bitgrid.net>
# Contributor: jfperini <@jfperini>

pkgname=vocal-git
pkgver=2.4.2.r73.gfeacd31
pkgrel=1
pkgdesc='Powerful, beautiful, and simple podcast client for the modern free desktop'
arch=('x86_64')
url='https://github.com/VocalPodcastProject/vocal'
license=('GPL3')
depends=('clutter-gst' 'granite' 'libadwaita' 'libgee' 'sqlite' 'webkit2gtk-4.1')    # 'libsecret'
makedepends=('git' 'meson' 'vala')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=($pkgname::git+$url.git)
sha256sums=('SKIP')

pkgver() {
  git -C $pkgname describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  meson setup --buildtype=plain --prefix=/usr $pkgname build

  #meson -C build compile
  ninja -C build
}

check() {
  #meson -C build test
  ninja -C build test
}

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