blob: ad3c567a4e5f022f6f5ce008d78ce695d3472583 (
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
|
# Maintainer: HÃ¥vard Pettersson <mail@haavard.me>
_pkgname=nss-tls
pkgname=$_pkgname-git
pkgver=r80.e31dd2a
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
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build(){
arch-meson $_pkgname build
ninja -C build
}
package() {
DESTDIR="$pkgdir" ninja -C build install
}
# vim:set ts=2 sw=2 et:
|