[arch-commits] Commit in libvorbis/trunk (PKGBUILD)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Wed Apr 15 06:34:04 UTC 2015


    Date: Wednesday, April 15, 2015 @ 08:34:04
  Author: bpiotrowski
Revision: 236629

upgpkg: libvorbis 1.3.5-1

new upstream release

Modified:
  libvorbis/trunk/PKGBUILD

----------+
 PKGBUILD |   27 ++++++++++++++-------------
 1 file changed, 14 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-04-15 03:55:52 UTC (rev 236628)
+++ PKGBUILD	2015-04-15 06:34:04 UTC (rev 236629)
@@ -1,33 +1,34 @@
 # $Id$
-# Maintainer: Tobias Kieslich <tobias at archlinux.org>
+# Maintainer:  Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Tobias Kieslich <tobias at archlinux.org>
 # Contributor: dorphell <dorphell at archlinux.org>
 # Contributor: John Proctor <jproctor at prium.net>
 
 pkgname=libvorbis
-pkgver=1.3.4
+pkgver=1.3.5
 pkgrel=1
-pkgdesc="Vorbis codec library"
+pkgdesc='Vorbis codec library'
 arch=('i686' 'x86_64')
-url="http://www.xiph.org/vorbis/"
+url='http://www.xiph.org/vorbis/'
 license=('BSD')
 depends=('libogg')
-source=(http://downloads.xiph.org/releases/vorbis/${pkgname}-${pkgver}.tar.gz)
-md5sums=('8851c593a52d1ef9c526d95174873852')
+provides=('libvorbisfile.so' 'libvorbis.so' 'libvorbisenc.so')
+source=(http://downloads.xiph.org/releases/vorbis/$pkgname-$pkgver.tar.gz)
+md5sums=('7220e089f3be3412a2317d6fde9e3944')
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  #-march=i686 optimizes too much, strip it out
-  CFLAGS=${CFLAGS/-march=$CARCH} LIBS+="-lm" ./configure --prefix=/usr --disable-static
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --disable-static
   make
 }
 
 check() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd $pkgname-$pkgver
   make -j1 check
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }



More information about the arch-commits mailing list