[arch-commits] Commit in lib32-flac/trunk (PKGBUILD)
Florian Pritz
bluewind at nymeria.archlinux.org
Tue May 28 20:21:58 UTC 2013
Date: Tuesday, May 28, 2013 @ 22:21:58
Author: bluewind
Revision: 91893
upgpkg: lib32-flac 1.3.0-1
upstream update
Modified:
lib32-flac/trunk/PKGBUILD
----------+
PKGBUILD | 19 +++++++------------
1 file changed, 7 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-05-28 18:17:57 UTC (rev 91892)
+++ PKGBUILD 2013-05-28 20:21:58 UTC (rev 91893)
@@ -3,8 +3,8 @@
_pkgbasename=flac
pkgname=lib32-$_pkgbasename
-pkgver=1.2.1
-pkgrel=8
+pkgver=1.3.0
+pkgrel=1
pkgdesc="Free Lossless Audio Codec (32-bit)"
arch=('x86_64')
url="http://flac.sourceforge.net/"
@@ -12,28 +12,23 @@
depends=('lib32-libogg' 'lib32-gcc-libs' $_pkgbasename)
makedepends=('nasm' gcc-multilib)
options=('!libtool' '!makeflags')
-source=(http://downloads.sf.net/sourceforge/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.gz
- flac-1.2.1-gcc-4.3-includes.patch)
-md5sums=('153c8b15a54da428d1f0fadc756c22c7'
- 'b9d245422bbc547b18a72897366bea77')
-sha1sums=('bd54354900181b59db3089347cc84ad81e410b38'
- '7e9f8c2ef4d9daf5ddd20df63b608fe19b8c1560')
+source=(http://downloads.xiph.org/releases/flac/${_pkgbasename}-${pkgver}.tar.xz)
+sha1sums=('a136e5748f8fb1e6c524c75000a765fc63bb7b1b')
build() {
export CC="gcc -m32"
export CXX="g++ -m32"
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
- cd ${srcdir}/${_pkgbasename}-${pkgver}
- patch -Np1 -i ${srcdir}/flac-1.2.1-gcc-4.3-includes.patch
+ cd "${_pkgbasename}-${pkgver}"
./configure --prefix=/usr --mandir=/usr/share/man --enable-shared \
--disable-rpath --libdir=/usr/lib32
make
}
package() {
- cd ${srcdir}/${_pkgbasename}-${pkgver}
- make DESTDIR=${pkgdir} install
+ cd "${_pkgbasename}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}"/usr/{include,share,bin}
mkdir -p "$pkgdir/usr/share/licenses"
More information about the arch-commits
mailing list