Date: Saturday, June 20, 2020 @ 16:14:07
  Author: spupykin
Revision: 648613

upgpkg: udpxy 1.0.24.1-1

Modified:
  udpxy/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2020-06-20 16:07:06 UTC (rev 648612)
+++ PKGBUILD    2020-06-20 16:14:07 UTC (rev 648613)
@@ -4,31 +4,29 @@
 # Maintainer: Jose Riha <jose 1711 gmail com>
 
 pkgname=udpxy
-pkgver=1.0.23.12
-_pkgver=1.0.23-12
-_commit=612d2271b0d3ccb92f5e1c1c54aa3c0674af75cf
-pkgrel=2
+pkgver=1.0.24.1
+_pkgver=1.0-24.1
+pkgrel=1
 pkgdesc="small-footprint UNIX/Linux daemon to relay multicast UDP traffic to 
client's TCP (HTTP) connection."
 arch=(x86_64)
 url="https://github.com/pcherenkov/udpxy";
 license=('GPL3')
-makedepends=('git')
-source=("git+https://github.com/pcherenkov/udpxy.git#commit=${_commit}";
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pcherenkov/udpxy/archive/${_pkgver}.tar.gz";
        $pkgname.service)
-sha256sums=('SKIP'
+sha256sums=('27e5d3d2bae29522354d1505a3cc931c96953846d68eeb25bb99fe9b0cb6cbe0'
             '8ea0c97ccd00bff2bc3b1d987d5e55b215bc4cd966623be669160445bdd5a25a')
 
 prepare() {
-  sed -e 's|-Werror||' -i udpxy/chipmunk/Makefile
+  sed -e 's|-Werror||' -i udpxy-${_pkgver}/chipmunk/Makefile
 }
 
 build() {
-  cd "$srcdir"/udpxy/chipmunk
+  cd "$srcdir"/udpxy-${_pkgver}/chipmunk
   make PREFIX=/usr CC="gcc ${CPPFLAGS} ${CFLAGS} ${LDFLAGS}"
 }
 
 package() {
-  cd "$srcdir"/udpxy/chipmunk
+  cd "$srcdir"/udpxy-${_pkgver}/chipmunk
   make DESTDIR="$pkgdir" PREFIX=/usr install
   install -D -m644 "$srcdir"/$pkgname.service 
"$pkgdir"/usr/lib/systemd/system/$pkgname.service
 }

Reply via email to