[arch-commits] Commit in mbelib/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 13:32:28 UTC 2020


    Date: Tuesday, July 7, 2020 @ 13:32:28
  Author: felixonmars
Revision: 658501

archrelease: copy trunk to community-staging-x86_64

Added:
  mbelib/repos/community-staging-x86_64/
  mbelib/repos/community-staging-x86_64/PKGBUILD
    (from rev 658499, mbelib/trunk/PKGBUILD)

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

Copied: mbelib/repos/community-staging-x86_64/PKGBUILD (from rev 658499, mbelib/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 13:32:28 UTC (rev 658501)
@@ -0,0 +1,33 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+# Contributor: Kyle Keen <keenerd at gmail.com>
+
+pkgname=mbelib
+pkgver=1.3.0
+pkgrel=2
+pkgdesc="Voice codecs for P25, ProVoice, Half Rate"
+arch=('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 
+
+  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