Date: Monday, June 24, 2019 @ 07:10:19 Author: felixonmars Revision: 356827
archrelease: copy trunk to community-x86_64 Added: libshout/repos/community-x86_64/ libshout/repos/community-x86_64/PKGBUILD (from rev 356826, libshout/trunk/PKGBUILD) ----------+ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) Copied: libshout/repos/community-x86_64/PKGBUILD (from rev 356826, libshout/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2019-06-24 07:10:19 UTC (rev 356827) @@ -0,0 +1,32 @@ +# Maintainer: Giovanni Scafora <giova...@archlinux.org> +# Contributor: arjan <ar...@archlinux.org> +# Contributor: Jason Chu <j...@xentac.net> + +pkgname=libshout +pkgver=2.4.3 +pkgrel=1 +epoch=1 +pkgdesc="Library for accessing a shoutcast/icecast server" +arch=('x86_64') +depends=('libvorbis' 'libtheora' 'speex' 'openssl') +url="https://www.icecast.org/" +options=('!emptydirs') +license=('LGPL') +source=("https://downloads.xiph.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz") +sha512sums=('fe36778c6640e620f27504cb21234940e18a65a33f9178bf7e77d4baf854a9affc82d85db8ed8c1c8e2d80399685d8be10106fff5be1ddf76e03e2ffeeed1d34') + +prepare() { + cd ${pkgname}-${pkgver} + sed -e 's/SSLeay_add_all_algorithms/OpenSSL_add_all_algorithms/g' -i src/tls.c +} + +build() { + cd ${pkgname}-${pkgver} + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var + make +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install +}