diff options
author | Francisco Carpio | 2022-02-04 10:54:06 +0100 |
---|---|---|
committer | Francisco Carpio | 2022-02-04 10:54:06 +0100 |
commit | a38391fe3fafd2b5d1abd29898b355b88e9b188c (patch) | |
tree | 5383225d3943dd39622cc6876107f20cdbb720f3 | |
download | aur-a38391fe3fafd2b5d1abd29898b355b88e9b188c.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 39 |
2 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1a4c8143d073 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = phosh-antispam + pkgdesc = Phosh Calls Anti-Spam + pkgver = 2.0 + pkgrel = 1 + url = https://gitlab.com/kop316/phosh-antispam + arch = x86_64 + arch = aarch64 + license = GPL3 + makedepends = gcc + makedepends = glib2 + makedepends = libhandy + makedepends = meson + makedepends = docbook-xml + makedepends = docbook-xsl + depends = gnome-calls + source = https://gitlab.com/kop316/phosh-antispam/-/archive/2.0/phosh-antispam-2.0.tar.gz + sha256sums = 92ea60d8a6b3579a455853e7bd5246e53ccdd2a9b73f39bea111f31e3009ff86 + +pkgname = phosh-antispam 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 +} |