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

Maxime Gauduin alucryd at archlinux.org
Sun Aug 26 14:19:55 UTC 2018


    Date: Sunday, August 26, 2018 @ 14:19:55
  Author: alucryd
Revision: 374301

upgpkg: lib32-wayland 1.16.0-1

Modified:
  lib32-wayland/trunk/PKGBUILD

----------+
 PKGBUILD |   25 ++++++++++++-------------
 1 file changed, 12 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-26 14:19:51 UTC (rev 374300)
+++ PKGBUILD	2018-08-26 14:19:55 UTC (rev 374301)
@@ -5,7 +5,7 @@
 # Contributor: Joel Teichroeb <joel at teichroeb.net>
 
 pkgname=lib32-wayland
-pkgver=1.15.0
+pkgver=1.16.0
 pkgrel=1
 pkgdesc='A computer display server protocol'
 arch=('x86_64')
@@ -12,19 +12,20 @@
 url='https://wayland.freedesktop.org'
 license=('MIT')
 depends=('lib32-glibc' 'lib32-libffi' 'lib32-expat' 'lib32-libxml2' 'wayland')
-source=("https://wayland.freedesktop.org/releases/wayland-${pkgver}.tar.xz"{,.sig})
-validpgpkeys=(
-  'C7223EBE4EF66513B892598911A30156E0E67611' # Bryce Harrington
-  'C0066D7DB8E9AC6844D728715E54498E697F11D7' # Derek Foreman
-)
-sha256sums=('eb3fbebb8559d56a80ad3753ec3db800f587329067962dbf65e14488b4b7aeb0'
-            'SKIP')
+makedepends=('git')
+source=("git+https://gitlab.freedesktop.org/wayland/wayland.git#tag=${pkgver}")
+sha256sums=('SKIP')
 
+prepare() {
+  cd wayland
+
+  NOCONFIGURE=1 ./autogen.sh
+}
+
 build() {
-  cd wayland-${pkgver}
+  cd wayland
 
   export CC='gcc -m32'
-  export CXX='g++ -m32'
   export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
 
   ./configure \
@@ -37,9 +38,7 @@
 }
 
 package() {
-  cd wayland-${pkgver}
-
-  make DESTDIR="${pkgdir}" install
+  make DESTDIR="${pkgdir}" -C wayland install
   rm -rf "${pkgdir}"/usr/{bin,include,share}
 
   install -dm 755 "${pkgdir}"/usr/share/licenses



More information about the arch-commits mailing list