Browse Source

nss-tls-git: added to repo

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
master
Steven Noonan 10 months ago
parent
commit
b1df117369
Signed by: steven GPG Key ID: 408EEB508ED0CD4D
  1. 1
      nss-tls-git/.gitignore
  2. 32
      nss-tls-git/PKGBUILD

1
nss-tls-git/.gitignore

@ -0,0 +1 @@
/nss-tls

32
nss-tls-git/PKGBUILD

@ -0,0 +1,32 @@
# Maintainer: Steven Noonan <steven@uplinklabs.net>
_pkgname=nss-tls
pkgname=$_pkgname-git
pkgver=1.1+0+g939855e
pkgrel=1
pkgdesc='A DNS over HTTPS resolver for glibc'
url='https://github.com/dimkr/nss-tls'
arch=(i686 x86_64)
license=('LGPL2.1')
depends=(glib2 libsoup json-glib)
makedepends=(git meson)
provides=($_pkgname)
conflicts=($_pkgname)
source=("$_pkgname::git+https://github.com/dimkr/nss-tls.git")
sha256sums=('SKIP')
pkgver() {
cd $_pkgname
git describe --long --tags | sed 's/^v//;s/-/+/g'
}
build(){
arch-meson $_pkgname build -Dresolvers=https://cloud.uplinklabs.net/dns-query
ninja -C build
}
package() {
DESTDIR="$pkgdir" ninja -C build install
}
# vim:set ts=2 sw=2 et:
Loading…
Cancel
Save