summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fb51e13975933c7a9f3f9c0103ae65388e00df0c (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: alcubierre-drive
pkgname=xtrlock-pam-fp-git
pkgrel=1
pkgver=0.1.r1.g3d73226
pkgdesc="xtrlock-pam patched with fprintd support (toggle to disable password waiting)"
arch=('x86_64')
url="https://github.com/alcubierre-drive/xtrlock-pam"
license=('GPL')
depends=()
makedepends=('git')
source=("$pkgname::git+$url")
sha256sums=( 'SKIP' )

pkgver() {
    cd "$pkgname"
    git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | cut -c 2-
}

prepare() {
    : Nothing
}

build() {
    cd "${srcdir}/${pkgname}"
    #git checkout v0.1
    make
}

check() {
    : Nothing
}

package() {
    cd "${srcdir}/${pkgname}"
    PREFIX="$pkgdir" make install
}