mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
websocketpp: added to repo
This commit is contained in:
parent
4dca4fcdcb
commit
380f6964fa
13
websocketpp/.AURINFO
Normal file
13
websocketpp/.AURINFO
Normal file
@ -0,0 +1,13 @@
|
||||
pkgbase = websocketpp
|
||||
pkgdesc = C++/Boost Asio based websocket client/server library
|
||||
pkgver = 0.4.0
|
||||
pkgrel = 1
|
||||
url = http://www.zaphoyd.com/websocketpp/
|
||||
arch = any
|
||||
license = BSD
|
||||
makedepends = cmake
|
||||
source = https://github.com/zaphoyd/websocketpp/archive/0.4.0.tar.gz
|
||||
md5sums = 21ed2beaaf2fe3f76783e4b3bbaa8206
|
||||
|
||||
pkgname = websocketpp
|
||||
|
27
websocketpp/PKGBUILD
Normal file
27
websocketpp/PKGBUILD
Normal file
@ -0,0 +1,27 @@
|
||||
# Maintainer: Francesco Marinucci <framari [at] openmailbox [dot] org>
|
||||
|
||||
pkgname=websocketpp
|
||||
pkgver=0.4.0
|
||||
pkgrel=1
|
||||
pkgdesc='C++/Boost Asio based websocket client/server library'
|
||||
url='http://www.zaphoyd.com/websocketpp/'
|
||||
license=('BSD')
|
||||
arch=('x86_64')
|
||||
makedepends=('cmake')
|
||||
source=("https://github.com/zaphoyd/${pkgname}/archive/${pkgver}.tar.gz")
|
||||
md5sums=('21ed2beaaf2fe3f76783e4b3bbaa8206')
|
||||
|
||||
prepare() {
|
||||
if [[ -e ${srcdir}/${pkgname}-${pkgver}-build ]]; then rm -rf ${srcdir}/${pkgname}-${pkgver}-build; fi
|
||||
mkdir ${srcdir}/${pkgname}-${pkgver}-build
|
||||
|
||||
cd ${srcdir}/${pkgname}-${pkgver}-build
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
||||
../${pkgname}-${pkgver}
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}-build
|
||||
make DESTDIR=${pkgdir} install
|
||||
install -D -m644 ${srcdir}/${pkgname}-${pkgver}/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
|
||||
}
|
Loading…
Reference in New Issue
Block a user