[arch-commits] Commit in codec2/repos/community-x86_64 (PKGBUILD PKGBUILD)

Daniel Bermond dbermond at gemini.archlinux.org
Tue Dec 28 13:42:54 UTC 2021


    Date: Tuesday, December 28, 2021 @ 13:42:54
  Author: dbermond
Revision: 1085671

archrelease: copy trunk to community-x86_64

Added:
  codec2/repos/community-x86_64/PKGBUILD
    (from rev 1085670, codec2/trunk/PKGBUILD)
Deleted:
  codec2/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   77 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 39 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-28 13:42:28 UTC (rev 1085670)
+++ PKGBUILD	2021-12-28 13:42:54 UTC (rev 1085671)
@@ -1,38 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-# Maintainer: Daniel Bermond <dbermond at archlinux.org>
-
-pkgname=codec2
-pkgver=1.0.1
-pkgrel=1
-epoch=1
-pkgdesc='Open source speech codec designed for communications quality speech between 450 and 3200 bit/s'
-arch=('x86_64')
-license=('LGPL2.1')
-url='https://github.com/drowe67/codec2'
-makedepends=('cmake')
-provides=('freedv')
-conflicts=('freedv')
-source=("$url/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('e32b6ebb5480b4a6ae15e835abc0da4fac7fb46a2b14bcc2a3c52df2da6c8d3f5acbcf83d8039f1ee402b4d2e1e7445841e3c9c415bfb70af3a251e74ab3f3b6')
-
-build() {
-  cmake -B build -S $pkgname-$pkgver \
-  	-DCMAKE_BUILD_TYPE=Release \
-  	-DCMAKE_INSTALL_PREFIX=/usr \
-  	-DCMAKE_SKIP_RPATH=YES \
-  	-Wno-dev
-
-  make -C build
-}
-
-package() {
-  make -C build DESTDIR="$pkgdir" install
-  
-  local _bin
-  while read -r -d '' _bin
-  do
-      install -D -m755 "$_bin" -t "$pkgdir/usr/bin"
-  done < <(find build -type f -regextype posix-extended \
-           -regex '.*/(c2(demo|dec|enc|sim)|freedv_(t|r)x|(cohpsk|fdmdv|fsk|ldpc|ofdm)_.*)' \
-           -executable -print0)
-}

Copied: codec2/repos/community-x86_64/PKGBUILD (from rev 1085670, codec2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-28 13:42:54 UTC (rev 1085671)
@@ -0,0 +1,39 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+# Maintainer: Daniel Bermond <dbermond at archlinux.org>
+
+pkgname=codec2
+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'
+arch=('x86_64')
+license=('LGPL2.1')
+url='https://github.com/drowe67/codec2'
+makedepends=('cmake')
+provides=('freedv')
+conflicts=('freedv')
+source=("$url/archive/v$_tag/$pkgname-$_tag.tar.gz")
+sha512sums=('1b59a0520d55b0f92b72a51dde0f58a0cd845056195734d23bf59bf44e7b5c7431bdc3cebe7c60aef7dadf3ec02f9edd62f041b4b283c05a4b50a0380f3ed67c')
+
+build() {
+  cmake -B build -S $pkgname-$_tag \
+  	-DCMAKE_BUILD_TYPE=Release \
+  	-DCMAKE_INSTALL_PREFIX=/usr \
+  	-DCMAKE_SKIP_RPATH=YES \
+  	-Wno-dev
+
+  make -C build
+}
+
+package() {
+  make -C build DESTDIR="$pkgdir" install
+  
+  local _bin
+  while read -r -d '' _bin
+  do
+      install -D -m755 "$_bin" -t "$pkgdir/usr/bin"
+  done < <(find build -type f -regextype posix-extended \
+           -regex '.*/(c2(demo|dec|enc|sim)|freedv_(t|r)x|(cohpsk|fdmdv|fsk|ldpc|ofdm)_.*)' \
+           -executable -print0)
+}



More information about the arch-commits mailing list