1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
2 # Contributor: Konstantin Shabanov <kes.eclipse@gmail.com>
4 # Maintainer: Jose Riha <jose 1711 gmail com>
10 pkgdesc="small-footprint UNIX/Linux daemon to relay multicast UDP traffic to client's TCP (HTTP) connection."
12 url="https://github.com/pcherenkov/udpxy"
14 source=("$pkgname-$pkgver.tar.gz::https://github.com/pcherenkov/udpxy/archive/${_pkgver}.tar.gz"
16 sha256sums=('27e5d3d2bae29522354d1505a3cc931c96953846d68eeb25bb99fe9b0cb6cbe0'
17 '8ea0c97ccd00bff2bc3b1d987d5e55b215bc4cd966623be669160445bdd5a25a')
20 sed -e 's|-Werror||' -i udpxy-${_pkgver}/chipmunk/Makefile
24 cd "$srcdir"/udpxy-${_pkgver}/chipmunk
25 make PREFIX=/usr CC="gcc ${CPPFLAGS} ${CFLAGS} ${LDFLAGS}"
29 cd "$srcdir"/udpxy-${_pkgver}/chipmunk
30 make DESTDIR="$pkgdir" PREFIX=/usr install
31 install -D -m644 "$srcdir"/$pkgname.service "$pkgdir"/usr/lib/systemd/system/$pkgname.service