[arch-commits] Commit in lib32-twolame/repos (2 files)
Laurent Carlier
lcarlier at archlinux.org
Sun Jul 1 06:17:04 UTC 2018
Date: Sunday, July 1, 2018 @ 06:17:04
Author: lcarlier
Revision: 349275
archrelease: copy trunk to multilib-x86_64
Added:
lib32-twolame/repos/multilib-x86_64/
lib32-twolame/repos/multilib-x86_64/PKGBUILD
(from rev 349274, lib32-twolame/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: lib32-twolame/repos/multilib-x86_64/PKGBUILD (from rev 349274, lib32-twolame/trunk/PKGBUILD)
===================================================================
--- multilib-x86_64/PKGBUILD (rev 0)
+++ multilib-x86_64/PKGBUILD 2018-07-01 06:17:04 UTC (rev 349275)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: farid abdelnour <farid at atelier-labs.org>
+# Contributor: Gustavo Alvarez <sl1pkn07 at gmail.org>
+
+pkgname=lib32-twolame
+_pkgbasename=twolame
+pkgver=0.3.13
+pkgrel=1
+pkgdesc="An optimized MPEG Audio Layer 2 (MP2) encoder (32-bit)"
+arch=('x86_64')
+url="http://www.twolame.org/"
+license=('LGPL')
+depends=('lib32-libsndfile' 'twolame')
+source=("https://downloads.sourceforge.net/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.gz")
+sha512sums=('241ae5faebf05cb919959bb0545cb89e9b71cfb07f92a7118d864499ea4f0065ddaa646ab1482ffbcbca427d52c2436764074bd67fd19a1eb9979987f23163f7')
+
+build() {
+ export CC="gcc -m32"
+ export CXX="g++ -m32"
+ export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+ cd "${_pkgbasename}-${pkgver}"
+
+ ./configure --prefix=/usr \
+ --libdir=/usr/lib32 \
+ --disable-static
+ make
+}
+
+package() {
+ cd "${_pkgbasename}-${pkgver}"
+
+ make DESTDIR=${pkgdir} install
+
+ rm -rf "${pkgdir}"/usr/{include,share,bin}
+}
More information about the arch-commits
mailing list