[arch-commits] Commit in lib32-libepoxy/repos/multilib-x86_64 (PKGBUILD PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Sat Mar 11 20:57:23 UTC 2017
Date: Saturday, March 11, 2017 @ 20:57:23
Author: alucryd
Revision: 215728
archrelease: copy trunk to multilib-x86_64
Added:
lib32-libepoxy/repos/multilib-x86_64/PKGBUILD
(from rev 215727, lib32-libepoxy/trunk/PKGBUILD)
Deleted:
lib32-libepoxy/repos/multilib-x86_64/PKGBUILD
----------+
PKGBUILD | 91 ++++++++++++++++++++++++++++++++++---------------------------
1 file changed, 52 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-03-11 20:57:12 UTC (rev 215727)
+++ PKGBUILD 2017-03-11 20:57:23 UTC (rev 215728)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Laurent Carlier <lordheavym at gmail.com>
-
-pkgname=lib32-libepoxy
-pkgver=1.3.1
-pkgrel=3
-pkgdesc='A library for handling OpenGL function pointer management for you'
-arch=('x86_64')
-url='https://github.com/anholt/libepoxy'
-license=('MIT')
-depends=('lib32-glibc')
-makedepends=('gcc-multilib' 'lib32-libgl' 'python' 'xorg-util-macros')
-source=("https://github.com/anholt/libepoxy/releases/download/v${pkgver}/libepoxy-${pkgver}.tar.bz2")
-sha256sums=('1d8668b0a259c709899e1c4bab62d756d9002d546ce4f59c9665e2fc5f001a64')
-
-build() {
- cd libepoxy-${pkgver}
-
- export CC='gcc -m32'
- export CXX='/bin/false'
- export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
-
- ./configure \
- --prefix='/usr' \
- --libdir='/usr/lib32'
-}
-
-package() {
- cd libepoxy-${pkgver}
-
- make DESTDIR="${pkgdir}" install
- rm -rf "${pkgdir}"/usr/include
-
- install -dm 755 "${pkgdir}"/usr/share/licenses
- ln -s libepoxy "${pkgdir}"/usr/share/licenses/lib32-libepoxy
-}
-
-# vim: ts=2 sw=2 et:
Copied: lib32-libepoxy/repos/multilib-x86_64/PKGBUILD (from rev 215727, lib32-libepoxy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-03-11 20:57:23 UTC (rev 215728)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Laurent Carlier <lordheavym at gmail.com>
+
+pkgname=lib32-libepoxy
+pkgver=1.4.1
+pkgrel=1
+pkgdesc='Library handling OpenGL function pointer management'
+arch=('x86_64')
+url='https://github.com/anholt/libepoxy'
+license=('MIT')
+depends=('lib32-glibc')
+makedepends=('gcc-multilib' 'lib32-libgl' 'meson' 'python')
+source=("https://github.com/anholt/libepoxy/releases/download/${pkgver}/libepoxy-${pkgver}.tar.xz")
+sha256sums=('88c6abf5522fc29bab7d6c555fd51a855cbd9253c4315f8ea44e832baef21aa6')
+
+prepare() {
+ cd libepoxy-${pkgver}
+
+ if [[ -d build ]]; then
+ rm -rf build
+ fi
+ mkdir build
+}
+
+build() {
+ cd libepoxy-${pkgver}/build
+
+ export CC='gcc -m32'
+ export CXX='/bin/false'
+ export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+ export LANG='en_US.UTF-8'
+
+ meson \
+ --prefix='/usr' \
+ --libdir='/usr/lib32' \
+ --buildtype='release' \
+ ..
+ ninja
+}
+
+package() {
+ cd libepoxy-${pkgver}/build
+
+ DESTDIR="${pkgdir}" ninja install
+ rm -rf "${pkgdir}"/usr/include
+
+ install -dm 755 "${pkgdir}"/usr/share/licenses
+ ln -s libepoxy "${pkgdir}"/usr/share/licenses/lib32-libepoxy
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list