[arch-commits] Commit in libwebsockets/repos (4 files)

Jelle van der Waa jelle at archlinux.org
Mon Feb 13 18:51:38 UTC 2017


    Date: Monday, February 13, 2017 @ 18:51:38
  Author: jelle
Revision: 212162

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  libwebsockets/repos/community-staging-i686/
  libwebsockets/repos/community-staging-i686/PKGBUILD
    (from rev 212161, libwebsockets/trunk/PKGBUILD)
  libwebsockets/repos/community-staging-x86_64/
  libwebsockets/repos/community-staging-x86_64/PKGBUILD
    (from rev 212161, libwebsockets/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   32 ++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)

Copied: libwebsockets/repos/community-staging-i686/PKGBUILD (from rev 212161, libwebsockets/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-02-13 18:51:38 UTC (rev 212162)
@@ -0,0 +1,32 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Jingbei Li <i at jingbei.li>
+
+pkgname=libwebsockets
+pkgver=2.1.0
+pkgrel=2
+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=('4df3be57dee43aeebd54a3ed56568f50')
+
+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-staging-x86_64/PKGBUILD (from rev 212161, libwebsockets/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-02-13 18:51:38 UTC (rev 212162)
@@ -0,0 +1,32 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Jingbei Li <i at jingbei.li>
+
+pkgname=libwebsockets
+pkgver=2.1.0
+pkgrel=2
+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=('4df3be57dee43aeebd54a3ed56568f50')
+
+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}/"
+}



More information about the arch-commits mailing list