Date: Monday, August 22, 2016 @ 18:03:50 Author: jelle Revision: 187323
archrelease: copy trunk to community-i686, community-x86_64 Added: libwebsockets/repos/community-i686/ libwebsockets/repos/community-i686/PKGBUILD (from rev 187322, libwebsockets/trunk/PKGBUILD) libwebsockets/repos/community-x86_64/ libwebsockets/repos/community-x86_64/PKGBUILD (from rev 187322, libwebsockets/trunk/PKGBUILD) ---------------------------+ community-i686/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ community-x86_64/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) Copied: libwebsockets/repos/community-i686/PKGBUILD (from rev 187322, libwebsockets/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2016-08-22 18:03:50 UTC (rev 187323) @@ -0,0 +1,32 @@ +# Maintainer: Jelle van der Waa <je...@archlinux.org> +# Contributor: Jingbei Li <i...@jingbei.li> + +pkgname=libwebsockets +pkgver=2.0.2 +pkgrel=1 +pkgdesc="C library for websocket clients and servers" +arch=('i686' 'x86_64') +url="https://libwebsockets.org" +depends=('openssl') +makedepends=('cmake') +license=('LGPL') +source=("https://github.com/warmcat/libwebsockets/archive/v$pkgver.tar.gz") +md5sums=('778c920a580fba1f943c84e9702e7b26') + +build() { + cd "$pkgname-$pkgver" + + mkdir build && cd build + cmake -D CMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX:PATH=/usr .. + make +} + +package() { + cd "$pkgname-$pkgver/build" + make DESTDIR="${pkgdir}" install + + cd .. + + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/" +} Copied: libwebsockets/repos/community-x86_64/PKGBUILD (from rev 187322, libwebsockets/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2016-08-22 18:03:50 UTC (rev 187323) @@ -0,0 +1,32 @@ +# Maintainer: Jelle van der Waa <je...@archlinux.org> +# Contributor: Jingbei Li <i...@jingbei.li> + +pkgname=libwebsockets +pkgver=2.0.2 +pkgrel=1 +pkgdesc="C library for websocket clients and servers" +arch=('i686' 'x86_64') +url="https://libwebsockets.org" +depends=('openssl') +makedepends=('cmake') +license=('LGPL') +source=("https://github.com/warmcat/libwebsockets/archive/v$pkgver.tar.gz") +md5sums=('778c920a580fba1f943c84e9702e7b26') + +build() { + cd "$pkgname-$pkgver" + + mkdir build && cd build + cmake -D CMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX:PATH=/usr .. + make +} + +package() { + cd "$pkgname-$pkgver/build" + make DESTDIR="${pkgdir}" install + + cd .. + + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/" +}