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

Filipe Laíns ffy00 at archlinux.org
Thu Aug 16 16:37:26 UTC 2018


    Date: Thursday, August 16, 2018 @ 16:37:26
  Author: ffy00
Revision: 371989

import from aur

Added:
  mbelib/
  mbelib/repos/
  mbelib/trunk/
  mbelib/trunk/PKGBUILD

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

Added: mbelib/trunk/PKGBUILD
===================================================================
--- mbelib/trunk/PKGBUILD	                        (rev 0)
+++ mbelib/trunk/PKGBUILD	2018-08-16 16:37:26 UTC (rev 371989)
@@ -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
+}


Property changes on: mbelib/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list