[arch-commits] Commit in libogg/repos (6 files)

Tom Gundersen tomegun at nymeria.archlinux.org
Fri May 31 05:59:52 EDT 2013


    Date: Friday, May 31, 2013 @ 11:59:52
  Author: tomegun
Revision: 186865

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  libogg/repos/testing-i686/
  libogg/repos/testing-i686/PKGBUILD
    (from rev 186864, libogg/trunk/PKGBUILD)
  libogg/repos/testing-i686/config_types.h
    (from rev 186864, libogg/trunk/config_types.h)
  libogg/repos/testing-x86_64/
  libogg/repos/testing-x86_64/PKGBUILD
    (from rev 186864, libogg/trunk/PKGBUILD)
  libogg/repos/testing-x86_64/config_types.h
    (from rev 186864, libogg/trunk/config_types.h)

-------------------------------+
 testing-i686/PKGBUILD         |   38 ++++++++++++++++++++++++++++++++++++++
 testing-i686/config_types.h   |    9 +++++++++
 testing-x86_64/PKGBUILD       |   38 ++++++++++++++++++++++++++++++++++++++
 testing-x86_64/config_types.h |    9 +++++++++
 4 files changed, 94 insertions(+)

Copied: libogg/repos/testing-i686/PKGBUILD (from rev 186864, libogg/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2013-05-31 09:59:52 UTC (rev 186865)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer:  Tom Gundersen <teg at jklm.no>
+# Contributor: John Proctor <jproctor at prium.net>
+
+pkgname=libogg
+pkgver=1.3.1
+pkgrel=1
+pkgdesc="Ogg bitstream and framing library"
+arch=('i686' 'x86_64')
+url="http://www.xiph.org/ogg/"
+license=('BSD')
+depends=('glibc')
+options=('!libtool')
+source=(http://downloads.xiph.org/releases/ogg/$pkgname-$pkgver.tar.xz
+        config_types.h)
+
+build() {
+  cd "$srcdir/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr 
+  make
+}
+
+package() {
+  cd "$srcdir/${pkgname}-${pkgver}"
+  make DESTDIR="$pkgdir" install
+
+# install BSD license
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+
+# 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
+}
+md5sums=('ca25d8da0ddfc8c6cbbf78d847a209fe'
+         'a4d786b1b1955cb85b64fd16cbbee3f9')

Copied: libogg/repos/testing-i686/config_types.h (from rev 186864, libogg/trunk/config_types.h)
===================================================================
--- testing-i686/config_types.h	                        (rev 0)
+++ testing-i686/config_types.h	2013-05-31 09:59:52 UTC (rev 186865)
@@ -0,0 +1,9 @@
+#include <bits/wordsize.h>
+
+#if __WORDSIZE == 32
+#include "config_types-32.h"
+#elif __WORDSIZE == 64
+#include "config_types-64.h"
+#else
+#error "Unknown word size"
+#endif

Copied: libogg/repos/testing-x86_64/PKGBUILD (from rev 186864, libogg/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2013-05-31 09:59:52 UTC (rev 186865)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer:  Tom Gundersen <teg at jklm.no>
+# Contributor: John Proctor <jproctor at prium.net>
+
+pkgname=libogg
+pkgver=1.3.1
+pkgrel=1
+pkgdesc="Ogg bitstream and framing library"
+arch=('i686' 'x86_64')
+url="http://www.xiph.org/ogg/"
+license=('BSD')
+depends=('glibc')
+options=('!libtool')
+source=(http://downloads.xiph.org/releases/ogg/$pkgname-$pkgver.tar.xz
+        config_types.h)
+
+build() {
+  cd "$srcdir/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr 
+  make
+}
+
+package() {
+  cd "$srcdir/${pkgname}-${pkgver}"
+  make DESTDIR="$pkgdir" install
+
+# install BSD license
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+
+# 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
+}
+md5sums=('ca25d8da0ddfc8c6cbbf78d847a209fe'
+         'a4d786b1b1955cb85b64fd16cbbee3f9')

Copied: libogg/repos/testing-x86_64/config_types.h (from rev 186864, libogg/trunk/config_types.h)
===================================================================
--- testing-x86_64/config_types.h	                        (rev 0)
+++ testing-x86_64/config_types.h	2013-05-31 09:59:52 UTC (rev 186865)
@@ -0,0 +1,9 @@
+#include <bits/wordsize.h>
+
+#if __WORDSIZE == 32
+#include "config_types-32.h"
+#elif __WORDSIZE == 64
+#include "config_types-64.h"
+#else
+#error "Unknown word size"
+#endif



More information about the arch-commits mailing list