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

Maxime Gauduin alucryd at archlinux.org
Fri Nov 10 18:25:52 UTC 2017


    Date: Friday, November 10, 2017 @ 18:25:50
  Author: alucryd
Revision: 309392

upgpkg: libogg 1.3.3-1

Modified:
  libogg/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-10 18:19:04 UTC (rev 309391)
+++ PKGBUILD	2017-11-10 18:25:50 UTC (rev 309392)
@@ -1,37 +1,40 @@
 # $Id$
 # Maintainer:  Tom Gundersen <teg at jklm.no>
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
 # Contributor: John Proctor <jproctor at prium.net>
 
 pkgname=libogg
-pkgver=1.3.2
+pkgver=1.3.3
 pkgrel=1
-pkgdesc="Ogg bitstream and framing library"
-arch=('i686' 'x86_64')
-url="http://www.xiph.org/ogg/"
+pkgdesc='Ogg bitstream and framing library'
+arch=('x86_64')
+url='http://www.xiph.org/ogg/'
 license=('BSD')
 depends=('glibc')
-source=(https://downloads.xiph.org/releases/ogg/$pkgname-$pkgver.tar.xz
-        config_types.h)
+source=("https://downloads.xiph.org/releases/ogg/libogg-${pkgver}.tar.xz"
+        'config_types.h')
+md5sums=('87ed742047f065046eb6c36745d871b8'
+         'a4d786b1b1955cb85b64fd16cbbee3f9')
 
 build() {
-  cd "$srcdir/${pkgname}-${pkgver}"
-  ./configure --prefix=/usr
+  cd libogg-${pkgver}
+
+  ./configure \
+    --prefix='/usr'
   make
 }
 
 package() {
-  cd "$srcdir/${pkgname}-${pkgver}"
-  make DESTDIR="$pkgdir" install
+  cd libogg-${pkgver}
 
+  make DESTDIR="${pkgdir}" install
+
 # install BSD license
-  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+  install -Dm 644 COPYING -t "${pkgdir}"/usr/share/licenses/libogg/
 
 # Resolve multilib conflict
-  if [[ $CARCH == "x86_64" ]]; then
-    mv "$pkgdir"/usr/include/ogg/config_types{,-64}.h
-    install -m 644 "$srcdir/config_types.h" \
-      "${pkgdir}/usr/include/ogg/config_types.h"
-  fi
+  mv "${pkgdir}"/usr/include/ogg/config_types{,-64}.h
+  install -m 644 ../config_types.h -t "${pkgdir}"/usr/include/ogg/
 }
-md5sums=('5c3a34309d8b98640827e5d0991a4015'
-         'a4d786b1b1955cb85b64fd16cbbee3f9')
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list