Date: Saturday, October 17, 2020 @ 17:30:53 Author: heftig Revision: 725513
archrelease: copy trunk to community-staging-x86_64 Added: intel-gmmlib/repos/community-staging-x86_64/ intel-gmmlib/repos/community-staging-x86_64/PKGBUILD (from rev 725512, intel-gmmlib/trunk/PKGBUILD) ----------+ PKGBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) Copied: intel-gmmlib/repos/community-staging-x86_64/PKGBUILD (from rev 725512, intel-gmmlib/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-10-17 17:30:53 UTC (rev 725513) @@ -0,0 +1,33 @@ +# Maintainer: Bruno Pagani <archa...@archlinux.org> +# Maintainer: Daniel Bermond <dberm...@archlinux.org> + +pkgname=intel-gmmlib +pkgver=20.2.5 +pkgrel=2 +pkgdesc="Intel Graphics Memory Management Library" +arch=(x86_64) +url="https://github.com/intel/gmmlib/" +license=(MIT) +depends=(gcc-libs) +makedepends=(cmake) +provides=(gmmlib) +conflicts=(gmmlib) +replaces=(gmmlib) +options=(!emptydirs) +source=("https://github.com/${pkgname/-//}/archive/${pkgname}-${pkgver}.tar.gz") +sha256sums=('e4b4cf24fb1fe14b7ff6ae566259af7ad91986b03a44bbbd9b3cb49077b80052') + +build() { + cmake -B build -S gmmlib-${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DRUN_TEST_SUITE=ON \ + -Wno-dev + make -C build +} + +package() { + make -C build DESTDIR="${pkgdir}" install + install -Dm644 gmmlib-${pkgname}-${pkgver}/LICENSE.md -t "${pkgdir}"/usr/share/licenses/${pkgname}/ +}