[arch-commits] Commit in (4 files)

Jelle van der Waa jelle at archlinux.org
Mon Aug 22 17:37:42 UTC 2016


    Date: Monday, August 22, 2016 @ 17:37:42
  Author: jelle
Revision: 187322

Initial commit

Dependency of mosquitto

Added:
  libwebsockets/
  libwebsockets/repos/
  libwebsockets/trunk/
  libwebsockets/trunk/PKGBUILD

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Added: libwebsockets/trunk/PKGBUILD
===================================================================
--- libwebsockets/trunk/PKGBUILD	                        (rev 0)
+++ libwebsockets/trunk/PKGBUILD	2016-08-22 17:37:42 UTC (rev 187322)
@@ -0,0 +1,32 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Jingbei Li <i at 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}/"
+}


Property changes on: libwebsockets/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list