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

Maxime Gauduin alucryd at archlinux.org
Fri Mar 16 19:13:46 UTC 2018


    Date: Friday, March 16, 2018 @ 19:13:45
  Author: alucryd
Revision: 319538

upgpkg: libvorbis 1.3.6-1

Modified:
  libvorbis/trunk/PKGBUILD

----------+
 PKGBUILD |   30 +++++++++++++++++++-----------
 1 file changed, 19 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-16 19:06:04 UTC (rev 319537)
+++ PKGBUILD	2018-03-16 19:13:45 UTC (rev 319538)
@@ -1,11 +1,12 @@
 # $Id$
-# Maintainer:  Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: 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.5
+pkgver=1.3.6
 pkgrel=1
 pkgdesc='Vorbis codec library'
 arch=('x86_64')
@@ -12,23 +13,30 @@
 url='http://www.xiph.org/vorbis/'
 license=('BSD')
 depends=('libogg')
-provides=('libvorbisfile.so' 'libvorbis.so' 'libvorbisenc.so')
-source=(https://downloads.xiph.org/releases/vorbis/$pkgname-$pkgver.tar.gz)
-md5sums=('7220e089f3be3412a2317d6fde9e3944')
+provides=('libvorbis.so' 'libvorbisenc.so' 'libvorbisfile.so')
+source=("https://downloads.xiph.org/releases/vorbis/libvorbis-${pkgver}.tar.gz")
+sha256sums=('6ed40e0241089a42c48604dc00e362beee00036af2d8b3f46338031c9e0351cb')
 
 build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr --disable-static
+  cd libvorbis-${pkgver}
+
+  ./configure \
+    --prefix='/usr' \
+    --disable-static
   make
 }
 
 check() {
-  cd $pkgname-$pkgver
+  cd libvorbis-${pkgver}
+
   make -j1 check
 }
 
 package() {
-  cd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  cd libvorbis-${pkgver}
+
+  make DESTDIR="${pkgdir}" install
+  install -Dm 644 COPYING -t "${pkgdir}"/usr/share/licenses/libvorbis
 }
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list