Date: Thursday, March 15, 2018 @ 10:30:00 Author: alucryd Revision: 308419
archrelease: copy trunk to multilib-x86_64 Added: lib32-libepoxy/repos/multilib-x86_64/PKGBUILD (from rev 308418, lib32-libepoxy/trunk/PKGBUILD) Deleted: lib32-libepoxy/repos/multilib-x86_64/PKGBUILD ----------+ PKGBUILD | 97 ++++++++++++++++++++++++++++--------------------------------- 1 file changed, 46 insertions(+), 51 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-03-15 10:29:52 UTC (rev 308418) +++ PKGBUILD 2018-03-15 10:30:00 UTC (rev 308419) @@ -1,51 +0,0 @@ -# $Id$ -# Maintainer: Maxime Gauduin <aluc...@archlinux.org> -# Contributor: Laurent Carlier <lordhea...@gmail.com> - -pkgname=lib32-libepoxy -pkgver=1.4.3 -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=('0b808a06c9685a62fca34b680abb8bc7fb2fda074478e329b063c1f872b826f6') - -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' - - 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: Copied: lib32-libepoxy/repos/multilib-x86_64/PKGBUILD (from rev 308418, lib32-libepoxy/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-03-15 10:30:00 UTC (rev 308419) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Maxime Gauduin <aluc...@archlinux.org> +# Contributor: Laurent Carlier <lordhea...@gmail.com> + +pkgname=lib32-libepoxy +pkgver=1.5.0 +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' 'lib32-systemd' 'meson' 'python') +source=("https://github.com/anholt/libepoxy/releases/download/${pkgver}/libepoxy-${pkgver}.tar.xz") +sha256sums=('4c94995398a6ebf691600dda2e9685a0cac261414175c2adf4645cdfab42a5d5') + +prepare() { + if [[ -d build ]]; then + rm -rf build + fi + mkdir build +} + +build() { + cd build + + export CC='gcc -m32' + export CXX='/bin/false' + export PKG_CONFIG_PATH='/usr/lib32/pkgconfig' + + arch-meson ../libepoxy-${pkgver} \ + --libdir='/usr/lib32' + ninja +} + +package() { + cd 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: