Date: Wednesday, September 30, 2015 @ 22:08:34 Author: alucryd Revision: 142280
archrelease: copy trunk to community-x86_64 Added: lib32-wayland/repos/community-x86_64/ lib32-wayland/repos/community-x86_64/PKGBUILD (from rev 142279, lib32-wayland/trunk/PKGBUILD) ----------+ PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) Copied: lib32-wayland/repos/community-x86_64/PKGBUILD (from rev 142279, lib32-wayland/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2015-09-30 20:08:34 UTC (rev 142280) @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Maxime Gauduin <aluc...@archlinux.org> +# Contributor: Tom Gundersen <t...@jklm.no> +# Contributor: Sébastien Luttringer <sеblu@аrchlіnux․org> +# Contributor: Joel Teichroeb <j...@teichroeb.net> + +pkgname=lib32-wayland +pkgver=1.9.0 +pkgrel=1 +pkgdesc='A computer display server protocol' +arch=('x86_64') +url='http://wayland.freedesktop.org' +license=('MIT') +depends=('lib32-libffi' 'lib32-expat' 'wayland') +source=("http://wayland.freedesktop.org/releases/wayland-${pkgver}.tar.xz") +sha256sums=('9c8770720aa0034479735f58a4dc4ca9b172ecfede28f5134312e135b7301efa') + +build() { + cd wayland-${pkgver} + + export CC='gcc -m32' + export CXX='g++ -m32' + export PKG_CONFIG_PATH='/usr/lib32/pkgconfig' + + ./configure \ + --prefix='/usr' \ + --libdir='/usr/lib32' \ + --disable-documentation \ + --disable-static + make +} + +package() { + cd wayland-${pkgver} + + make DESTDIR="${pkgdir}" install + rm -rf "${pkgdir}"/usr/{bin,include,share} + + install -dm 755 "${pkgdir}"/usr/share/licenses + ln -s wayland "${pkgdir}"/usr/share/licenses/lib32-wayland +} + +# vim: ts=2 sw=2 et: