[arch-commits] Commit in opencore-amr/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Fri Oct 9 22:39:25 UTC 2020
Date: Friday, October 9, 2020 @ 22:39:25
Author: dvzrv
Revision: 397832
upgpkg: opencore-amr 0.1.5-5: Rebuild to add soprovides.
Add libopencore-amrwb.so and libopencore-amrnb.so to provides.
Run autoreconf in prepare().
Install docs.
Update maintainer info.
Modified:
opencore-amr/trunk/PKGBUILD
----------+
PKGBUILD | 31 +++++++++++++++++++++----------
1 file changed, 21 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-10-09 20:56:48 UTC (rev 397831)
+++ PKGBUILD 2020-10-09 22:39:25 UTC (rev 397832)
@@ -1,25 +1,36 @@
-# Maintainer: Ionut Biru <ionut at archlinux.ro>
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Ionut Biru <ionut at archlinux.ro>
# Contributor: WAntilles <wantilles at adslgr.com>
pkgname=opencore-amr
pkgver=0.1.5
-pkgrel=4
+pkgrel=5
pkgdesc="Open source implementation of the Adaptive Multi Rate (AMR) speech codec"
arch=('x86_64')
-license=('APACHE')
-url="http://opencore-amr.sourceforge.net/"
-source=(https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
-depends=(glibc)
-sha256sums=('2c006cb9d5f651bfb5e60156dbff6af3c9d35c7bbcc9015308c0aff1e14cd341')
+license=('Apache')
+url="https://sourceforge.net/projects/opencore-amr/"
+source=("https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz")
+depends=('glibc')
+provides=('libopencore-amrwb.so' 'libopencore-amrnb.so')
+sha512sums=('c324db9dcac5a31bfac633153bc054bfe42d5ff98202c4adb3c75a3fae9792f07f60d48cd659acf106dacd307174a62b2aeee22a4af53caa20d2bfba46488faf')
+b2sums=('4943a27f0df3d874720c87f48c523d9aa4cce849dd0a3c9183466416a0629aa02dac8f01646e469e8c45438bf3c57047eb11e69f3f1b261449a0989a36639e59')
+prepare() {
+ cd "$pkgname-$pkgver"
+ autoreconf -vfi
+}
+
build() {
- cd $pkgname-$pkgver
- ./configure --prefix=/usr --disable-static --enable-examples
+ cd "$pkgname-$pkgver"
+ ./configure --prefix=/usr \
+ --disable-static \
+ --enable-examples
make
}
package() {
- cd $pkgname-$pkgver
+ cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
+ install -vDm 644 {ChangeLog,README} -t "${pkgdir}/usr/share/doc/${pkgname}"
}
More information about the arch-commits
mailing list