Date: Thursday, March 15, 2018 @ 10:29:50 Author: alucryd Revision: 308417
upgpkg: lib32-libepoxy 1.5.0-1 Modified: lib32-libepoxy/trunk/PKGBUILD ----------+ PKGBUILD | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-03-15 09:58:24 UTC (rev 308416) +++ PKGBUILD 2018-03-15 10:29:50 UTC (rev 308417) @@ -3,7 +3,7 @@ # Contributor: Laurent Carlier <lordhea...@gmail.com> pkgname=lib32-libepoxy -pkgver=1.4.3 +pkgver=1.5.0 pkgrel=1 pkgdesc='Library handling OpenGL function pointer management' arch=('x86_64') @@ -10,13 +10,11 @@ url='https://github.com/anholt/libepoxy' license=('MIT') depends=('lib32-glibc') -makedepends=('gcc-multilib' 'lib32-libgl' 'meson' 'python') +makedepends=('gcc-multilib' 'lib32-libgl' 'lib32-systemd' 'meson' 'python') source=("https://github.com/anholt/libepoxy/releases/download/${pkgver}/libepoxy-${pkgver}.tar.xz") -sha256sums=('0b808a06c9685a62fca34b680abb8bc7fb2fda074478e329b063c1f872b826f6') +sha256sums=('4c94995398a6ebf691600dda2e9685a0cac261414175c2adf4645cdfab42a5d5') prepare() { - cd libepoxy-${pkgver} - if [[ -d build ]]; then rm -rf build fi @@ -24,22 +22,19 @@ } build() { - cd libepoxy-${pkgver}/build + cd build export CC='gcc -m32' export CXX='/bin/false' export PKG_CONFIG_PATH='/usr/lib32/pkgconfig' - meson \ - --prefix='/usr' \ - --libdir='/usr/lib32' \ - --buildtype='release' \ - .. + arch-meson ../libepoxy-${pkgver} \ + --libdir='/usr/lib32' ninja } package() { - cd libepoxy-${pkgver}/build + cd build DESTDIR="${pkgdir}" ninja install rm -rf "${pkgdir}"/usr/include