blob: 19ecebfdbddb536061b6a55008844f12fa29f0c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=perl-protocol-websocket
_pkgreal=Protocol-WebSocket
pkgver=0.26
pkgrel=0
pkgdesc="WebSocket protocol"
url="https://metacpan.org/release/Protocol-WebSocket"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl"
makedepends="perl-dev perl-module-build-tiny"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/V/VT/VTI/Protocol-WebSocket-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare
cd "$builddir"
perl Build.PL --installdirs=vendor
}
build() {
cd "$builddir"
./Build
}
check() {
cd "$builddir"
./Build test
}
package() {
cd "$builddir"
./Build install --destdir="$pkgdir"
}
sha512sums="82384cdbeafc7b37fd4a97471c414e6653d311d1f4cc21de5ea4bbc3e06589df8e0a909e781470e8a84d3d74f6907a851f222338cea3f1f1aa6eb4a276149357 Protocol-WebSocket-0.26.tar.gz"
|