[arch-commits] Commit in codec2/repos (community-x86_64 community-x86_64/PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Sat Mar 2 15:58:53 UTC 2019
Date: Saturday, March 2, 2019 @ 15:58:53
Author: ffy00
Revision: 437382
archrelease: copy trunk to community-x86_64
Added:
codec2/repos/community-x86_64/
codec2/repos/community-x86_64/PKGBUILD
(from rev 437381, codec2/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: codec2/repos/community-x86_64/PKGBUILD (from rev 437381, codec2/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2019-03-02 15:58:53 UTC (rev 437382)
@@ -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