summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5735735989180d13febcab1443a7c61bc5d5e97a (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
# Maintainer: Azuki <support@azukiapp.com>
_pkgname='libnss-resolver'
pkgname=${_pkgname}-git
pkgver=0.3.0
pkgrel=1
pkgdesc="A Linux extension that adds support to the /etc/resolver/[suffix]."
arch=('x86_64')
url="https://github.com/azukiapp/libnss-resolver"
license=('Apache')
depends=('glibc')
makedepends=('fakeroot' 'git' 'clang' 'wget' 'scons')
provides=(${_pkgname%-git}=$pkgver)
conflicts=(${_pkgname%-git})
source=("git+https://github.com/azukiapp/libnss-resolver.git")
md5sums=('SKIP')
install=${pkgname}.install

pkgver() {
    cd "$_pkgname"
    git tag -l | sort -V | tail -1 | sed 's/^v//'
}

package() {
    cd "$_pkgname"
    scons prefix="$pkgdir/usr/lib" local-install
}