Date: Friday, December 13, 2019 @ 20:03:07
  Author: dbermond
Revision: 537571

upgpkg: intel-gmmlib 19.3.4.1-1

Update to version 19.3.4.1

Modified:
  intel-gmmlib/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2019-12-13 18:59:11 UTC (rev 537570)
+++ PKGBUILD    2019-12-13 20:03:07 UTC (rev 537571)
@@ -2,7 +2,7 @@
 # Maintainer: Daniel Bermond <dberm...@archlinux.org>
 
 pkgname=intel-gmmlib
-pkgver=19.3.4
+pkgver=19.3.4.1
 pkgrel=1
 pkgdesc="Intel Graphics Memory Management Library"
 arch=(x86_64)
@@ -15,25 +15,19 @@
 replaces=(gmmlib)
 options=(!emptydirs)
 
source=("https://github.com/${pkgname/-//}/archive/${pkgname}-${pkgver}.tar.gz";)
-sha256sums=('5f08e36892db6bff8284913d9ab784f693d50e4ea1eb2ea6d2545e3dc6876b71')
+sha256sums=('f9631eca699540ac57bfe8d56da9eed5de0a4301f69ad42e0da9fd5f06f62498')
 
-prepare() {
-    mkdir -p build
-}
-
 build() {
-    cd build
-    cmake ../${pkgname#*-}-${pkgname}-${pkgver} \
+    cmake -B build -S gmmlib-${pkgname}-${pkgver} \
         -DCMAKE_BUILD_TYPE=None \
         -DCMAKE_INSTALL_PREFIX=/usr \
         -DCMAKE_INSTALL_LIBDIR=lib \
         -DRUN_TEST_SUITE=ON \
         -Wno-dev
-    make
+    make -C build
 }
 
 package() {
-    cd build
-    make DESTDIR="${pkgdir}" install
-    install -Dm644 ../${pkgname#*-}-${pkgname}-${pkgver}/LICENSE.md -t 
"${pkgdir}"/usr/share/licenses/${pkgname}/
+    make -C build DESTDIR="${pkgdir}" install
+    install -D -m644 gmmlib-${pkgname}-${pkgver}/LICENSE.md -t 
"${pkgdir}"/usr/share/licenses/${pkgname}/
 }

Reply via email to