summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 05b06cf99a9443a0a7ade524a6cde9100ac50b71 (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
# Maintainer: xsmile <>
pkgname=ifrextractor-ls
pkgver=0.3.6
pkgrel=1
pkgdesc='Utility that can extract the internal forms represenation from both EFI and UEFI modules'
arch=('any')
url='https://github.com/LongSoft/Universal-IFR-Extractor'
license=('GPL3')
makedepends=('cmake' 'git')
provides=('ifrextractor')
conflicts=('ifrextractor')
source=("${url}/archive/v${pkgver}.tar.gz")
md5sums=('c749212a5ba631671fbbe96e6d7f0fcf')

prepare() {
  cd Universal-IFR-Extractor-${pkgver}
  mkdir -p build
  cd build
  cmake ..
}

build() {
  cd Universal-IFR-Extractor-${pkgver}/build
  make
}

package() {
  cd Universal-IFR-Extractor-${pkgver}/build
  install -Dm755 ifrextract -t "$pkgdir"/usr/bin
}