summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: abf2aab46c3f8a876eb157199a9995f6d3b9fefb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Andrey Rodionov <roand@inbox.ru>
pkgname=pam_e4crypt
pkgver=0.1
pkgrel=3
pkgdesc='This is a PAM module for unlocking transparently encrypted directories on ext4'
url="https://github.com/neithernut/pam_e4crypt/"
arch=('i686' 'x86_64')
license=('GPL2')
depends=('keyutils' 'linux>=4.1' 'openssl' 'pam' 'util-linux')
makedepends=('cmake')
source=("https://github.com/neithernut/${pkgname}/archive/v${pkgver}.tar.gz")
sha1sums=('SKIP')

build() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    cmake .
    make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR=${pkgdir} install
}