[arch-commits] Commit in mbelib/repos (community-x86_64 community-x86_64/PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Thu Aug 16 16:37:33 UTC 2018
Date: Thursday, August 16, 2018 @ 16:37:33
Author: ffy00
Revision: 371990
archrelease: copy trunk to community-x86_64
Added:
mbelib/repos/community-x86_64/
mbelib/repos/community-x86_64/PKGBUILD
(from rev 371989, mbelib/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: mbelib/repos/community-x86_64/PKGBUILD (from rev 371989, mbelib/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2018-08-16 16:37:33 UTC (rev 371990)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+# Contributor: Kyle Keen <keenerd at gmail.com>
+
+pkgname=mbelib
+pkgver=1.3.0
+pkgrel=1
+pkgdesc="Voice codecs for P25, ProVoice, Half Rate"
+arch=('i686' 'x86_64')
+url="https://github.com/szechyjs/mbelib"
+license=('MIT')
+depends=('glibc')
+makedepends=('cmake')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('1148b2c2e6e26f92e2d9643a79dc7ed3616e5903268b0a970d97abc9aff9a19241f037f82814109a247251796c652287c557e04dd1da2d827fd068534ac20a99')
+
+build() {
+ mkdir -p "$srcdir"/$pkgname-$pkgver/build
+ cd "$srcdir"/$pkgname-$pkgver/build
+
+ cmake .. \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIBSERIALDV_INCLUDE_DIR=/usr/include/serialdv \
+ -DUSE_MBELIB=ON
+
+ make
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver/build
+
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 ../COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list