[arch-commits] Commit in lib32-libshout/repos (2 files)

Felix Yan felixonmars at archlinux.org
Fri Nov 9 20:57:51 UTC 2018


    Date: Friday, November 9, 2018 @ 20:57:51
  Author: felixonmars
Revision: 404473

archrelease: copy trunk to multilib-staging-x86_64

Added:
  lib32-libshout/repos/multilib-staging-x86_64/
  lib32-libshout/repos/multilib-staging-x86_64/PKGBUILD
    (from rev 404472, lib32-libshout/trunk/PKGBUILD)

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Copied: lib32-libshout/repos/multilib-staging-x86_64/PKGBUILD (from rev 404472, lib32-libshout/trunk/PKGBUILD)
===================================================================
--- multilib-staging-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-staging-x86_64/PKGBUILD	2018-11-09 20:57:51 UTC (rev 404473)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: GordonGR <gordongr at freemail.gr>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: arjan <arjan at archlinux.org>
+# Contributor: Jason Chu <jchu at xentac.net>
+
+pkgname=lib32-libshout
+_pkgname=libshout
+pkgver=2.4.1
+pkgrel=4
+pkgdesc="Library for accessing a shoutcast/icecast server (32 bit)"
+arch=('x86_64')
+depends=('lib32-libvorbis' 'lib32-libtheora' 'lib32-speex' 'lib32-openssl' 'libshout')
+url="http://www.icecast.org/"
+options=('!emptydirs')
+license=('LGPL')
+source=("http://downloads.xiph.org/releases/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+md5sums=('89cebf8cb0197f639cde69c95177fe47')
+
+prepare() {
+  cd ${_pkgname}-${pkgver}
+  sed -e 's/SSLeay_add_all_algorithms/OpenSSL_add_all_algorithms/g' -i src/tls.c
+}
+
+build() {
+  export CC="gcc -m32"
+  export CXX="g++ -m32"
+  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+  cd ${_pkgname}-${pkgver}
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib32 --libexecdir=/usr/lib32
+  make
+}
+
+package() {
+  cd ${_pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  rm -r "$pkgdir"/usr/{include,share}
+}


More information about the arch-commits mailing list