Date: Sunday, December 3, 2017 @ 20:40:12 Author: dvzrv Revision: 272042
archrelease: copy trunk to community-testing-x86_64 Added: libfishsound/repos/community-testing-x86_64/ libfishsound/repos/community-testing-x86_64/PKGBUILD (from rev 272041, libfishsound/trunk/PKGBUILD) ----------+ PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) Copied: libfishsound/repos/community-testing-x86_64/PKGBUILD (from rev 272041, libfishsound/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2017-12-03 20:40:12 UTC (rev 272042) @@ -0,0 +1,39 @@ +# $Id$ +# Maintainer: David Runge <d...@sleepmap.de> +# Contributor: speps <speps at aur dot archlinux dot org> +# Contributor: farid <farid at archlinux-br.org> + +pkgname=libfishsound +pkgver=1.0.0 +pkgrel=2 +pkgdesc="A simple programming interface that wraps Xiph.Org audio codecs" +arch=('x86_64') +url="https://www.xiph.org/fishsound/" +license=('custom:BSD') +depends=('libvorbis' 'speex' 'flac') +source=("https://github.com/kfish/${pkgname}/archive/${pkgver}.tar.gz") +sha512sums=('52a98489d8cebfd92a1aa18511643108cc818379cf4470fe177c4a27e998f2652e4ffa94a50dd4f8838753714b9001eb8ee9ecb2fff858179f3bc7ffe6d7e35b') + +prepare() { + cd "${pkgname}-${pkgver}" + ./autogen.sh +} + +build() { + cd "${pkgname}-${pkgver}" + ./configure --prefix=/usr \ + --enable-static=no + make +} + +package() { + cd "${pkgname}-${pkgver}" + make DESTDIR="$pkgdir/" docdir=./docs install + + # license + install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm644 AUTHORS "${pkgdir}/usr/share/doc/${pkgname}/AUTHORS" + install -Dm644 ChangeLog "${pkgdir}/usr/share/doc/${pkgname}/ChangeLog" + install -Dm644 NEWS "${pkgdir}/usr/share/doc/${pkgname}/NEWS" + install -Dm644 README "${pkgdir}/usr/share/doc/${pkgname}/README" +}