summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a7e9ffbe73fdc4d5a6da467948c5946863c2a115 (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
33
34
35
36
# Maintainer: Arthur Poulet (arthur.poulet@sceptique.eu)
pkgname=libcredid
pkgver=0.3.5
pkgrel=3
pkgdesc="C Binding for credid client"
arch=('any')
url="https://github.com/Credid/libcredid-client"
license=('GPLv3')
groups=()
depends=()
makedepends=('gcc make')
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
#source=('c-credid-api::git+https://github.com/Credid/c-credid-api')
source=('libcredid-client.tar.gz::https://github.com/Credid/libcredid-client/archive/v0.3.5.tar.gz')
noextract=()
md5sums=('SKIP')

#pkgver() {
#  cd "$srcdir/c-credid-api"
#  printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
#}

build() {
  cd "$srcdir/libcredid-client-$pkgver"
  make
}

package() {
  cd "$srcdir/libcredid-client-$pkgver"
  make PREFIX="$pkgdir/usr/local" install
}