1 # Maintainer: Bruno Pagani <archange@archlinux.org>
2 # Maintainer: Daniel Bermond <dbermond@archlinux.org>
7 pkgdesc="Intel Graphics Memory Management Library"
9 url="https://github.com/intel/gmmlib/"
12 makedepends=(cmake ninja)
17 source=(https://github.com/${pkgname/-//}/archive/${pkgname}-${pkgver}.tar.gz)
18 sha256sums=('86651bd2803c9f0afd82471bec784e65d2b418dee315a053d22215eb2a679be7')
21 cmake -B build -S gmmlib-${pkgname}-${pkgver} -G Ninja \
22 -DCMAKE_BUILD_TYPE=Release \
23 -DCMAKE_INSTALL_PREFIX=/usr \
30 DESTDIR="${pkgdir}" cmake --install build
31 install -Dm644 gmmlib-${pkgname}-${pkgver}/LICENSE.md -t "${pkgdir}"/usr/share/licenses/${pkgname}/