[arch-commits] Commit in codec2/trunk (PKGBUILD codec2)

Filipe Laíns ffy00 at archlinux.org
Sat Mar 2 15:58:22 UTC 2019


    Date: Saturday, March 2, 2019 @ 15:58:21
  Author: ffy00
Revision: 437380

upgpkg: codec2 1.3-1

Added:
  codec2/trunk/PKGBUILD
Deleted:
  codec2/trunk/codec2/

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Added: PKGBUILD
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-02 15:58:21 UTC (rev 437380)
@@ -0,0 +1,35 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=codec2
+pkgver=1.3
+pkgrel=1
+pkgdesc='Low bit rate open source speech codec, and FDMDV HF modem'
+arch=('x86_64')
+license=('GPL2')
+url='https://rowetel.com/codec2.html'
+depends=('portaudio' 'hamlib' 'wxgtk3' 'speex')
+makedepends=('subversion' 'cmake')
+source=("$pkgname-$pkgver::svn+https://svn.code.sf.net/p/freetel/code/$pkgname/tags/$pkgver")
+sha512sums=('SKIP')
+
+build() {
+  mkdir -p $pkgname-$pkgver/build
+  cd $pkgname-$pkgver/build
+
+  cmake .. \
+  	-DCMAKE_BUILD_TYPE=Release \
+  	-DCMAKE_INSTALL_PREFIX=/usr \
+  	-DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3
+
+#  	-DCMAKE_INSTALL_LIBDIR:PATH=lib
+
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver/build
+
+  make DESTDIR="$pkgdir" install
+
+  install -Dm 644 ../USER_MANUAL.txt "$pkgdir"/usr/share/doc/codec2/USER_MANUAL.txt
+}


More information about the arch-commits mailing list