summaryrefslogtreecommitdiff
path: root/wslay/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-10-02 09:01:51 +0200
committerErich Eckner <git@eckner.net>2021-10-02 09:01:51 +0200
commit7e0b6017087292b1a8a15aff3c572530fe5c5ddf (patch)
tree389f9f43d5bda75a3372780052f4bf8b78cf18a3 /wslay/PKGBUILD
parent332454b7b7d17b5ce4677b228b8dea48bb574c4e (diff)
downloadarchlinuxewe-7e0b6017087292b1a8a15aff3c572530fe5c5ddf.tar.xz
wslay: moved to [community]
Diffstat (limited to 'wslay/PKGBUILD')
-rw-r--r--wslay/PKGBUILD71
1 files changed, 0 insertions, 71 deletions
diff --git a/wslay/PKGBUILD b/wslay/PKGBUILD
deleted file mode 100644
index 81cb57e74..000000000
--- a/wslay/PKGBUILD
+++ /dev/null
@@ -1,71 +0,0 @@
-# Maintainer: Erich Eckner <arch at eckner dot net>
-# Contributor: Cebtenzzre <cebtenzzre (at) gmail (dot) com>
-# Contributor: Andy Weidenbaum <archbaum@gmail.com>
-
-pkgname=wslay
-pkgver=1.1.1
-pkgrel=3
-pkgdesc="The WebSocket library in C"
-arch=('i686' 'pentium4' 'x86_64')
-_pinned_dependencies=(
- 'gcc-libs=11.1.0'
- 'glibc>=2.31'
- 'libnettle.so=8'
-)
-depends=("${_pinned_dependencies[@]}")
-makedepends=('autoconf' 'automake' 'git' 'libtool' 'make' 'pkg-config' 'python-sphinx')
-checkdepends=('cunit' 'nettle')
-url="https://github.com/tatsuhiro-t/wslay"
-license=('MIT')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/tatsuhiro-t/$pkgname/archive/release-$pkgver.tar.gz" 'sphinx.patch')
-sha512sums=('b42c66c738a3f33bc7de30e8975f4fb2dc60a8baef44be8d254110c8915e14cdaa4cbdd6b29184a66061fe387ec0948e896cb174a1dd8c85a97b5feedfde162e'
- '84eb978c28d29c6e9cc9bb4b2fe2ff6380d8c981724c4452d3b08de44ae65e5e73eb37f815833a3d5ebbee1fc4a8e7d0f1bc3119777146580d7306c72791a286')
-
-prepare() {
- cd "$srcdir/$pkgname-release-$pkgver"
- patch -p1 -i "$srcdir/sphinx.patch"
-}
-
-build() {
- cd "$srcdir/$pkgname-release-$pkgver"
-
- autoreconf -i
- ./configure \
- --prefix=/usr \
- --sbindir=/usr/bin \
- --libexecdir=/usr/lib/wslay \
- --sysconfdir=/etc \
- --sharedstatedir=/usr/share/wslay \
- --localstatedir=/var/lib/wslay \
- --with-gnu-ld
- make
-}
-
-check() {
- cd "$srcdir/$pkgname-release-$pkgver"
-
- make check
-}
-
-package() {
- cd "$srcdir/$pkgname-release-$pkgver"
-
- msg 'Installing license...'
- install -Dm 644 AUTHORS "$pkgdir/usr/share/licenses/${pkgname%-git}/AUTHORS"
- install -Dm 644 COPYING "$pkgdir/usr/share/licenses/${pkgname%-git}/COPYING"
-
- msg 'Installing documentation...'
- for _doc in ChangeLog NEWS README README.rst; do
- install -Dm 644 $_doc "$pkgdir/usr/share/doc/${pkgname%-git}/$_doc"
- done
-
- msg 'Installing...'
- make DESTDIR="$pkgdir" install
- for _bin in `find "$pkgdir/usr/bin" -mindepth 1 -maxdepth 1 -type f -printf '%f\n'`; do
- mv "$pkgdir/usr/bin/${_bin}" "$pkgdir/usr/bin/wslay_${_bin}"
- done
-
- msg 'Cleaning up pkgdir...'
- find "$pkgdir" -type d -name .git -exec rm -r '{}' +
- find "$pkgdir" -type f -name .gitignore -exec rm -r '{}' +
-}