[arch-commits] Commit in codec2/trunk (PKGBUILD)
Daniel Bermond
dbermond at gemini.archlinux.org
Tue Dec 28 13:42:29 UTC 2021
Date: Tuesday, December 28, 2021 @ 13:42:28
Author: dbermond
Revision: 1085670
upgpkg: codec2 1:1.0.3-1
Modified:
codec2/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-28 13:41:02 UTC (rev 1085669)
+++ PKGBUILD 2021-12-28 13:42:28 UTC (rev 1085670)
@@ -2,7 +2,8 @@
# Maintainer: Daniel Bermond <dbermond at archlinux.org>
pkgname=codec2
-pkgver=1.0.1
+pkgver=1.0.3
+_tag=${pkgver/%.?/${pkgver##*.}}
pkgrel=1
epoch=1
pkgdesc='Open source speech codec designed for communications quality speech between 450 and 3200 bit/s'
@@ -12,11 +13,11 @@
makedepends=('cmake')
provides=('freedv')
conflicts=('freedv')
-source=("$url/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('e32b6ebb5480b4a6ae15e835abc0da4fac7fb46a2b14bcc2a3c52df2da6c8d3f5acbcf83d8039f1ee402b4d2e1e7445841e3c9c415bfb70af3a251e74ab3f3b6')
+source=("$url/archive/v$_tag/$pkgname-$_tag.tar.gz")
+sha512sums=('1b59a0520d55b0f92b72a51dde0f58a0cd845056195734d23bf59bf44e7b5c7431bdc3cebe7c60aef7dadf3ec02f9edd62f041b4b283c05a4b50a0380f3ed67c')
build() {
- cmake -B build -S $pkgname-$pkgver \
+ cmake -B build -S $pkgname-$_tag \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_SKIP_RPATH=YES \
More information about the arch-commits
mailing list