Date: Saturday, January 11, 2020 @ 15:31:02 Author: dvzrv Revision: 373253
upgpkg: faac 1.30-2: Updating maintainer info. Switching to (more or less) correct license (GPL2, but actually GNU Library General Public License, which is *not* GNU Lesser General Public License). Dropping libmp4v2, as faac upstream implemented their own mp4 output module (cfaac) from scratch and therefore libmp4v2 is not required anymore. Adding libfaac.so to provides. Running autoreconf in prepare() (instead of custom bootstrap script, which did the same). Installing additional docs. Simplifying installation. Modified: faac/trunk/PKGBUILD ----------+ PKGBUILD | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-01-11 14:38:24 UTC (rev 373252) +++ PKGBUILD 2020-01-11 15:31:02 UTC (rev 373253) @@ -1,4 +1,5 @@ -# Maintainer: Tom Gundersen <[email protected]> +# Maintainer: David Runge <[email protected]> +# Contributor: Tom Gundersen <[email protected]> # Contributor: Hugo Doria <[email protected]> # Contributor: Sarah Hay <[email protected]> # Contributor: dorphell <[email protected]> @@ -5,26 +6,32 @@ pkgname=faac pkgver=1.30 -pkgrel=1 -pkgdesc="An AAC audio encoder" +pkgrel=2 +pkgdesc="Freeware Advanced Audio Coder" arch=('x86_64') url="https://www.audiocoding.com/" -license=('GPL' 'custom') -depends=('libmp4v2') -source=($pkgname-$pkgver.tar.gz::"https://github.com/knik0/faac/archive/${pkgver/./_}.tar.gz") -sha256sums=('adc387ce588cca16d98c03b6ec1e58f0ffd9fc6eadb00e254157d6b16203b2d2') +license=('GPL2' 'custom') +depends=('glibc') +provides=('libfaac.so') +source=("$pkgname-$pkgver.tar.gz::https://github.com/knik0/${pkgname}/archive/${pkgver/./_}.tar.gz") +sha512sums=('8582cd580dba2a347d15dc4fab42020d7120d0552c54ab74cfaf59ba1b270abb94c67e39d42459a14cbc6e98f3fd00cbda589e1b4f0c7278e41bdef6ae7b6554') +prepare() { + mv -v "${pkgname}-${pkgver/./_}" "${pkgname}-${pkgver}" + cd "${pkgname}-${pkgver}" + autoreconf -vfi +} + build() { - cd ${pkgname}-${pkgver/./_} - ./bootstrap + cd "${pkgname}-${pkgver}" ./configure --prefix=/usr make } package() { - cd ${pkgname}-${pkgver/./_} + cd "${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install - - install -Dm644 "${srcdir}"/${pkgname}-${pkgver/./_}/COPYING \ - "${pkgdir}"/usr/share/licenses/faac/LICENSE + install -vDm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}" + install -vDm 644 {AUTHORS,ChangeLog,NEWS,README,TODO} \ + -t "${pkgdir}/usr/share/doc/${pkgname}" }
