summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1806161e0ca2c7db57e48fdd378fe46415c3edc7 (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
42
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>

pkgname=sbsigntools-git
pkgver=0.9.1.r0.ga631793
pkgrel=1
pkgdesc="Signing utility for UEFI secure boot"
arch=('i686' 'x86_64')
url="https://git.kernel.org/pub/scm/linux/kernel/git/jejb/sbsigntools.git"
license=('GPL3')
depends=('glibc' 'libutil-linux' 'openssl')
makedepends=('git' 'gnu-efi-libs' 'help2man')
provides=('sbsigntools')
conflicts=('sbsigntools')
source=("git+https://git.kernel.org/pub/scm/linux/kernel/git/jejb/sbsigntools.git")
sha256sums=('SKIP')


pkgver() {
  cd "sbsigntools"

  git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd "sbsigntools"

  ./autogen.sh
  ./configure --prefix="/usr"
  make
}

check() {
  cd "sbsigntools"

  make check
}

package() {
  cd "sbsigntools"

  make DESTDIR="$pkgdir" install
}