upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / mbelib / trunk / PKGBUILD
blobbf6d811e092101ebbe65120062f5ee4c4fea2d83
1 # Maintainer: Filipe LaĆ­ns (FFY00) <lains@archlinux.org>
2 # Contributor: Kyle Keen <keenerd@gmail.com>
4 pkgname=mbelib
5 pkgver=1.3.0
6 pkgrel=2
7 pkgdesc="Voice codecs for P25, ProVoice, Half Rate"
8 arch=('x86_64')
9 url="https://github.com/szechyjs/mbelib"
10 license=('MIT')
11 depends=('glibc')
12 makedepends=('cmake')
13 source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
14 sha512sums=('1148b2c2e6e26f92e2d9643a79dc7ed3616e5903268b0a970d97abc9aff9a19241f037f82814109a247251796c652287c557e04dd1da2d827fd068534ac20a99')
16 build() {
17   mkdir -p "$srcdir"/$pkgname-$pkgver/build
18   cd "$srcdir"/$pkgname-$pkgver/build
20   cmake .. \
21     -DCMAKE_BUILD_TYPE=Release \
22     -DCMAKE_INSTALL_PREFIX=/usr 
24   make
27 package() {
28   cd "$srcdir"/$pkgname-$pkgver/build
30   make DESTDIR="$pkgdir" install
32   install -Dm644 ../COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/LICENSE