summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e9937aa62c5c9d4ccff8340aadcc939e656700d2 (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
# Maintainer: Egor Kovetskiy <e.kovetskiy@office.ngs.ru>
pkgname=pam_eye
pkgver=2.6e89c90
pkgrel=1
pkgdesc="A PAM module that send hostname to gateway host"
arch=('i686' 'x86_64')
url="http://github.com/kovetskiy/pam_eye"
license=('GPL')
depends=('util-linux' 'curl')
optdepends=()
backup=()
options=()
source=("git://github.com/kovetskiy/pam_eye.git")
md5sums=('SKIP')

pkgver() {
    cd "$pkgname"
    echo $(git rev-list --count master).$(git rev-parse --short master)
}

build() {
    cd "$pkgname"
    make
}

package() {
    install -D "$pkgname/pam_eye.so" "$pkgdir/usr/lib/security/pam_eye.so"
}