35 lines
764 B
Bash
35 lines
764 B
Bash
# Maintainer: Danct12 <danct12@disroot.org>
|
|
# Contributor: Francisco Carpio <carpiofj@gmail.com>
|
|
|
|
pkgname=phosh-antispam
|
|
pkgver=3.5
|
|
pkgrel=1
|
|
pkgdesc='An anti-spam program designed to work with Phosh'
|
|
arch=('x86_64' 'armv7h' 'aarch64')
|
|
url="https://gitlab.com/kop316/phosh-antispam"
|
|
license=('GPL-3.0-or-later')
|
|
depends=(
|
|
'gnome-calls'
|
|
'libadwaita'
|
|
)
|
|
makedepends=(meson)
|
|
_commit=${pkgver}
|
|
source=("${url}/-/archive/${_commit}/${pkgname}-${_commit}.tar.gz")
|
|
sha256sums=('62b5e63727da62c2574d4ddf10a02f6db25a2aa8d43db8d84651bc6a3e512702')
|
|
|
|
prepare() {
|
|
cd $pkgname-$pkgver
|
|
}
|
|
|
|
build() {
|
|
arch-meson $pkgname-$pkgver build
|
|
meson compile -C build
|
|
}
|
|
|
|
check() {
|
|
meson test -C build --print-errorlogs
|
|
}
|
|
|
|
package() {
|
|
meson install -C build --destdir "$pkgdir"
|
|
}
|