summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9f21261887e849fcc4123fc86ad2304061ccf1d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: wenLiangcan <boxeed at gmail dot com>

pkgname=websocketd
pkgver=0.2.12
pkgrel=1
pkgdesc="Like inetd, but for WebSockets. Turn any application that uses STDIO/STDOUT into a WebSocket server."
arch=('x86_64' 'i686' 'arm')
url="https://github.com/joewalnes/websocketd"
license=('BSD-2-Clause ')
depends=('glibc')

source_x86_64=("https://github.com/joewalnes/websocketd/releases/download/v${pkgver}/websocketd-${pkgver}-linux_amd64.zip")
md5sums_x86_64=('e0ac3172dddd2709c5a5d8fa509e7464')
md5sums_i686=('580cff1818353e74093b3624e8a7e736')

source_i686=("https://github.com/joewalnes/websocketd/releases/download/v${pkgver}/websocketd-${pkgver}-linux_386.zip")

package() {
    cd "${srcdir}"
    install -Dm755 "${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
    install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}