[arch-commits] Commit in libilbc/repos (community-x86_64 community-x86_64/PKGBUILD)
Daniel Bermond
dbermond at archlinux.org
Thu Oct 3 11:41:01 UTC 2019
Date: Thursday, October 3, 2019 @ 11:41:01
Author: dbermond
Revision: 512486
archrelease: copy trunk to community-x86_64
Added:
libilbc/repos/community-x86_64/
libilbc/repos/community-x86_64/PKGBUILD
(from rev 512485, libilbc/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: libilbc/repos/community-x86_64/PKGBUILD (from rev 512485, libilbc/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2019-10-03 11:41:01 UTC (rev 512486)
@@ -0,0 +1,29 @@
+# Maintainer: Daniel Bermond <dbermond at archlinux.org>
+
+pkgname=libilbc
+pkgver=2.0.2
+pkgrel=4
+pkgdesc='A friendly copy of the iLBC codec from the WebRTC project'
+arch=('x86_64')
+url='https://github.com/TimothyGu/libilbc/'
+license=('BSD')
+depends=('glibc')
+source=("https://github.com/TimothyGu/libilbc/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.bz2")
+sha256sums=('88e2dc14e1fccd7b7a0d7f84e96ac22a33c3c86820cee4b0a05e3dcc08c2b096')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+
+ ./configure \
+ --prefix='/usr' \
+ --enable-static='no' \
+ --enable-shared='yes'
+
+ make
+}
+
+package() {
+ make -C "${pkgname}-${pkgver}" DESTDIR="$pkgdir" install
+
+ install -D -m644 "${pkgname}-${pkgver}/COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list