summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d1996a23bc3e3d739113ac5a19dc31115318bec3 (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
37
38
39
40
41
# Maintainer: Johnathon Clark <john.clark at cantab dot net>
# Contributor: Jan Alexander Steffens (heftig) <heftig@archlinux.org> 
# Contributor: Tom Gundersen <teg@jklm.no>
# Contributor: Thomas Baechler <thomas@archlinux.org>

# This is a build of the experimental elanmoc2 driver by Davide Depau

pkgname=libfprint-elanmoc2-git
_pkgname=libfprint
pkgver=1.94.0+10+gd348f17
pkgrel=1
pkgdesc="Library for fingerprint readers with patches for the support of the ELAN 0C4C."
url="https://fprint.freedesktop.org/"
arch=(x86_64)
license=(LGPL)
depends=(libgusb pixman nss systemd libgudev)
makedepends=(git meson gtk-doc gobject-introspection)
checkdepends=(cairo)
conflicts=(libfprint)
provides=(libfprint=1.94.0 libfprint-2.so)
groups=(fprint)
source=("git+https://gitlab.freedesktop.org/Depau/libfprint.git#branch=elanmoc2")
sha256sums=('SKIP')

pkgver() {
  cd $_pkgname
  git describe --tags | sed 's/^v//;s/^V_//;s/_/./g;s/-/+/g'
}

prepare() {
  cd $_pkgname
}

build() {
  arch-meson $_pkgname build
  meson compile -C build
}

package() {
  meson install -C build --destdir "$pkgdir"
}