summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b0b363df1d24082d888b58c701225696a68741c3 (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: Francisco Carpio <carpiofj@gmail.com>

pkgname=phosh-antispam
pkgver=2.1.1
pkgrel=1
pkgdesc='Phosh Calls Anti-Spam'
arch=('x86_64' 'aarch64')
url="https://gitlab.com/kop316/phosh-antispam"
license=('GPL3')
depends=(
  'gnome-calls'
)
makedepends=(
  'gcc'
  'glib2'
  'libhandy'
  'meson'
  'docbook-xml'
  'docbook-xsl'
)
_commit=${pkgver}
source=("${url}/-/archive/${_commit}/${pkgname}-${_commit}.tar.gz")
sha256sums=('a7d047289b1cebcdbe6bd945679666f158806d06382864f0d557f41424e281f5')

build() {
  cd "${pkgname}-${_commit}"
  meson _build -Dprefix=/usr --sysconfdir=/etc
  meson compile -C _build
}

check() {
  cd "${pkgname}-${_commit}"
  meson test -C _build
}

package() {
  cd "${pkgname}-${_commit}"
  meson install -C _build --destdir "${pkgdir}"
}