diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..915f3c637e64 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Francisco Carpio <carpiofj@gmail.com> + +pkgname=phosh-antispam +pkgver=2.0 +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=('92ea60d8a6b3579a455853e7bd5246e53ccdd2a9b73f39bea111f31e3009ff86') + +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 +} |