blob: d3f3e4180dc83f9237f7228ee9f78669b5d9d0cc (
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
|
# Maintainer: Daniel Bermond <dbermond@archlinux.org>
pkgname=igsc-git
pkgver=0.2.2.r12.g90bfd55
pkgrel=2
pkgdesc='Intel graphics system controller firmware update library (git version)'
arch=('x86_64')
url='https://github.com/intel/igsc/'
license=('Apache')
depends=('intel-metee' 'systemd-libs')
makedepends=('git' 'cmake' 'systemd')
provides=('igsc')
conflicts=('igsc')
source=('git+https://github.com/intel/igsc.git')
sha256sums=('SKIP')
pkgver() {
git -C igsc describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^V//'
}
build() {
cmake -B build -S igsc \
-DCMAKE_BUILD_TYPE:STRING='None' \
-DCMAKE_INSTALL_PREFIX:PATH='/usr' \
-DENABLE_WERROR:BOOL='OFF' \
-Wno-dev
make -C build
}
package() {
make -C build DESTDIR="$pkgdir" install
}
|