[arch-commits] Commit in libepoxy/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Thu Mar 1 16:01:18 UTC 2018


    Date: Thursday, March 1, 2018 @ 16:01:08
  Author: heftig
Revision: 317686

1.5.0-1

Modified:
  libepoxy/trunk/PKGBUILD

----------+
 PKGBUILD |   23 ++++++++++-------------
 1 file changed, 10 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-01 15:55:56 UTC (rev 317685)
+++ PKGBUILD	2018-03-01 16:01:08 UTC (rev 317686)
@@ -2,7 +2,7 @@
 # Maintainer: Laurent Carlier <lordheavym at gmail.com>
 
 pkgname=libepoxy
-pkgver=1.4.3
+pkgver=1.5.0
 pkgrel=1
 pkgdesc="Library handling OpenGL function pointer management"
 url="https://github.com/anholt/libepoxy"
@@ -10,7 +10,7 @@
 license=(MIT)
 depends=(glibc)
 makedepends=(python mesa-libgl git meson doxygen graphviz)
-_commit=8d03a6a8278f7e12a910b5a8288484f8ae431653  # tags/1.4.3^0
+_commit=28ca626eda5c331d94ad96b9e67f0b98177a9dbf  # tags/1.5.0^0
 source=("git+https://github.com/anholt/libepoxy#commit=$_commit")
 sha256sums=('SKIP')
 
@@ -20,26 +20,23 @@
 }
 
 prepare() {
-  mkdir build
   cd $pkgname
+  # Reduce docs size
+  printf '%s\n' >>doc/Doxyfile.in \
+    HAVE_DOT=yes DOT_IMAGE_FORMAT=svg INTERACTIVE_SVG=yes
 }
 
 build() {
-  cd build
-  meson --prefix=/usr --buildtype=release ../$pkgname -Denable-docs=true
-  ninja
+  arch-meson $pkgname build -Ddocs=true
+  ninja -C build
 }
 
 check() {
   cd build
-  mesontest
+  meson test
 }
 
 package() {
-  cd build
-  DESTDIR="$pkgdir" ninja install
-
-  cd ../$pkgname
-  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  DESTDIR="$pkgdir" ninja -C build install
+  install -Dm644 $pkgname/COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }
-



More information about the arch-commits mailing list