summaryrefslogtreecommitdiffstats
path: root/abs/extra/intel-gmmlib/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2019-04-12 20:12:05 (GMT)
committerBritney Fransen <brfransen@gmail.com>2019-04-12 20:12:05 (GMT)
commitc8044aafe5572523ad0ba21a123cd4a6d677c5fa (patch)
treeb6c52b6cb83ebc71b9baaedd0c377d1cc87fffde /abs/extra/intel-gmmlib/PKGBUILD
parent73cfb83a5baecfe0529fda59ca57233d8843f783 (diff)
parentf9636cc3fd81130d36809a8f83107a0e2a50ebce (diff)
downloadlinhes_pkgbuild-c8044aafe5572523ad0ba21a123cd4a6d677c5fa.zip
linhes_pkgbuild-c8044aafe5572523ad0ba21a123cd4a6d677c5fa.tar.gz
linhes_pkgbuild-c8044aafe5572523ad0ba21a123cd4a6d677c5fa.tar.bz2
Merge branch 'testing'HEADmaster
Diffstat (limited to 'abs/extra/intel-gmmlib/PKGBUILD')
-rw-r--r--abs/extra/intel-gmmlib/PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/abs/extra/intel-gmmlib/PKGBUILD b/abs/extra/intel-gmmlib/PKGBUILD
new file mode 100644
index 0000000..eaa609d
--- /dev/null
+++ b/abs/extra/intel-gmmlib/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Bruno Pagani <archange@archlinux.org>
+# Contributor: Daniel Bermond < yahoo-com: danielbermond >
+
+pkgname=intel-gmmlib
+pkgver=19.1.1
+pkgrel=1
+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=('aab4241bde754225a84d71a459f5734c311a6437305ca7e99cd5cbeaab5ff6d5')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../${pkgname#*-}-${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE='None' \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DRUN_TEST_SUITE=ON \
+ -Wno-dev
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 ../${pkgname#*-}-${pkgname}-${pkgver}/LICENSE.md -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}