summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 22b8267bc534ff150e567bad0fae8fb6e4a99b9b (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
# Maintainer: Solomon Choina <shlomochoina@gmail.com>
pkgname=hasl-hg
pkgver=r34.fa548528b5f7
pkgrel=1
pkgdesc="The Hassle-free Authentication and Security Layer client library"
arch=("x86_64")
url="https://keep.imfreedom.org/hasl/hasl/"
license=('GPL')
depends=(glib2 glibc )
makedepends=(meson ninja mercurial gi-docgen gobject-introspection )
provides=('hasl')
source=("hg+https://keep.imfreedom.org/hasl/hasl")
sha256sums=('SKIP')
pkgver() {
	cd hasl
        printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)"

}

build() {
        arch-meson hasl build
	ninja -C build
}

package() {
        DESTDIR="$pkgdir/" ninja -C build install


}