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

Maxime Gauduin alucryd at archlinux.org
Sun Sep 1 16:09:02 UTC 2019


    Date: Sunday, September 1, 2019 @ 16:09:01
  Author: alucryd
Revision: 361463

archrelease: copy trunk to extra-x86_64

Added:
  libogg/repos/extra-x86_64/PKGBUILD
    (from rev 361462, libogg/trunk/PKGBUILD)
Deleted:
  libogg/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   82 +++++++++++++++++++++++++++++++++++++------------------------
 1 file changed, 50 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-01 16:08:56 UTC (rev 361462)
+++ PKGBUILD	2019-09-01 16:09:01 UTC (rev 361463)
@@ -1,32 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Tom Gundersen <teg at jklm.no>
-# Contributor: John Proctor <jproctor at prium.net>
-
-pkgname=libogg
-pkgver=1.3.3
-pkgrel=3
-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/libogg-${pkgver}.tar.xz")
-sha256sums=('4f3fc6178a533d392064f14776b23c397ed4b9f48f5de297aba73b643f955c08')
-
-build() {
-  cd libogg-${pkgver}
-
-  ./configure \
-    --prefix='/usr'
-  make
-}
-
-package() {
-  cd libogg-${pkgver}
-
-  make DESTDIR="${pkgdir}" install
-  install -Dm 644 COPYING -t "${pkgdir}"/usr/share/licenses/libogg/
-}
-
-# vim: ts=2 sw=2 et:

Copied: libogg/repos/extra-x86_64/PKGBUILD (from rev 361462, libogg/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-09-01 16:09:01 UTC (rev 361463)
@@ -0,0 +1,50 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Tom Gundersen <teg at jklm.no>
+# Contributor: John Proctor <jproctor at prium.net>
+
+pkgname=libogg
+pkgver=1.3.4
+pkgrel=1
+pkgdesc='Ogg bitstream and framing library'
+arch=(x86_64)
+url=https://www.xiph.org/ogg/
+license=(BSD)
+depends=(glibc)
+makedepends=(
+  cmake
+  git
+  ninja
+)
+source=(git+https://github.com/xiph/ogg.git?signed#tag=3328abd152508614f7ce4cd491dc98d14eba7ffc)
+sha256sums=(SKIP)
+validpgpkeys=(B7B00AEE1F960EEA0FED66FB9259A8F2D2D44C84) # Ralph Giles <giles at thaumas.net>
+
+pkgver() {
+  cd ogg
+
+  git describe --tags | sed 's/^v//'
+}
+
+prepare() {
+  if [[ -d build ]]; then
+    rm -rf build
+  fi
+  mkdir build
+}
+
+build() {
+  cd build
+
+  cmake ../ogg \
+    -G Ninja \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DBUILD_SHARED_LIBS=ON
+  ninja
+}
+
+package() {
+  DESTDIR="${pkgdir}" ninja -C build install
+  install -Dm 644 ogg/COPYING -t "${pkgdir}"/usr/share/licenses/libogg/
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list