summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 93f49f0427d00c8c7156fd5dc7455e94fb9a7288 (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.5
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=("${pkgname}::git+${url}.git#commit=7789d0a10185a8b31439d70d7848c106dcceee70")
md5sums=('SKIP')

prepare() {
  cd $pkgname
  mkdir -p build
  cd build
  cmake ..
}

build() {
  cd $pkgname/build
  make
}

package() {
  cd $pkgname/build
  install -Dm755 ifrextract -t "$pkgdir"/usr/bin
}