[arch-commits] Commit in lib32-libogg/repos/multilib-x86_64 (PKGBUILD PKGBUILD)

Jan Steffens heftig at archlinux.org
Sun Nov 19 15:56:16 UTC 2017


    Date: Sunday, November 19, 2017 @ 15:56:15
  Author: heftig
Revision: 267473

archrelease: copy trunk to multilib-x86_64

Added:
  lib32-libogg/repos/multilib-x86_64/PKGBUILD
    (from rev 267472, lib32-libogg/trunk/PKGBUILD)
Deleted:
  lib32-libogg/repos/multilib-x86_64/PKGBUILD

----------+
 PKGBUILD |   71 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 34 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-19 15:55:16 UTC (rev 267472)
+++ PKGBUILD	2017-11-19 15:56:15 UTC (rev 267473)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Jan "heftig" Steffens <jan.steffens at gmail.com>
-
-_pkgbasename=libogg
-pkgname=lib32-$_pkgbasename
-pkgver=1.3.3
-pkgrel=1
-pkgdesc="Ogg bitstream and framing library (32-bit)"
-arch=('x86_64')
-url="http://www.xiph.org/ogg/"
-license=('BSD')
-depends=('lib32-glibc' $_pkgbasename)
-makedepends=(gcc-multilib)
-source=(https://downloads.xiph.org/releases/ogg/$_pkgbasename-$pkgver.tar.xz)
-md5sums=('87ed742047f065046eb6c36745d871b8')
-
-build() {
-    export CC="gcc -m32"
-    export CXX="g++ -m32"
-    export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
-
-    cd $srcdir/${_pkgbasename}-${pkgver}
-    ./configure --prefix=/usr --libdir=/usr/lib32
-    make
-}
-
-package() {
-    cd $srcdir/${_pkgbasename}-${pkgver}
-
-    make DESTDIR=$pkgdir install
-
-    rm -rf "$pkgdir"/usr/{share,bin}
-    find "$pkgdir"/usr/include/ogg -type f -not -name config_types.h -delete
-    mv "$pkgdir"/usr/include/ogg/config_types{,-32}.h
-    mkdir -p "$pkgdir/usr/share/licenses"
-    ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"
-}

Copied: lib32-libogg/repos/multilib-x86_64/PKGBUILD (from rev 267472, lib32-libogg/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-11-19 15:56:15 UTC (rev 267473)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=lib32-libogg
+pkgver=1.3.3
+pkgrel=2
+pkgdesc='Ogg bitstream and framing library (32-bit)'
+arch=('x86_64')
+url='http://www.xiph.org/ogg/'
+license=('BSD')
+depends=(lib32-glibc libogg)
+makedepends=(gcc-multilib)
+source=("https://downloads.xiph.org/releases/ogg/libogg-${pkgver}.tar.xz")
+sha256sums=('4f3fc6178a533d392064f14776b23c397ed4b9f48f5de297aba73b643f955c08')
+
+build() {
+  export CC="gcc -m32"
+  export CXX="g++ -m32"
+  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+  cd libogg-${pkgver}
+  ./configure --prefix=/usr --libdir=/usr/lib32
+  make
+}
+
+package() {
+  cd libogg-${pkgver}
+
+  make DESTDIR="${pkgdir}" install
+  rm -rf "$pkgdir"/usr/{share,include,bin}
+
+  mkdir -p "$pkgdir/usr/share/licenses"
+  ln -s libogg "$pkgdir/usr/share/licenses/$pkgname"
+}


More information about the arch-commits mailing list