[arch-commits] Commit in libvorbis/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Sat Jul 4 16:30:47 UTC 2020
Date: Saturday, July 4, 2020 @ 16:30:47
Author: alucryd
Revision: 390841
archrelease: copy trunk to extra-x86_64
Added:
libvorbis/repos/extra-x86_64/PKGBUILD
(from rev 390840, libvorbis/trunk/PKGBUILD)
Deleted:
libvorbis/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 97 +++++++++++++++++++++++++++++++++++--------------------------
1 file changed, 56 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-04 16:30:42 UTC (rev 390840)
+++ PKGBUILD 2020-07-04 16:30:47 UTC (rev 390841)
@@ -1,41 +0,0 @@
-# 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.6
-pkgrel=2
-pkgdesc='Vorbis codec library'
-arch=('x86_64')
-url='https://www.xiph.org/vorbis/'
-license=('BSD')
-depends=('libogg')
-provides=('libvorbis.so' 'libvorbisenc.so' 'libvorbisfile.so')
-source=("https://downloads.xiph.org/releases/vorbis/libvorbis-${pkgver}.tar.gz")
-sha256sums=('6ed40e0241089a42c48604dc00e362beee00036af2d8b3f46338031c9e0351cb')
-
-build() {
- cd libvorbis-${pkgver}
-
- ./configure \
- --prefix='/usr' \
- --disable-static
- make
-}
-
-check() {
- cd libvorbis-${pkgver}
-
- make -j1 check
-}
-
-package() {
- cd libvorbis-${pkgver}
-
- make DESTDIR="${pkgdir}" install
- install -Dm 644 COPYING -t "${pkgdir}"/usr/share/licenses/libvorbis
-}
-
-# vim: ts=2 sw=2 et:
Copied: libvorbis/repos/extra-x86_64/PKGBUILD (from rev 390840, libvorbis/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-04 16:30:47 UTC (rev 390841)
@@ -0,0 +1,56 @@
+# 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.7
+pkgrel=1
+pkgdesc='Reference implementation of the Ogg Vorbis audio format'
+arch=(x86_64)
+url=https://www.xiph.org/vorbis/
+license=(BSD)
+depends=(libogg.so)
+makedepends=(git)
+provides=(
+ libvorbis.so
+ libvorbisenc.so
+ libvorbisfile.so
+)
+_tag=0657aee69dec8508a0011f47f3b69d7538e9d262
+source=(git+https://github.com/xiph/vorbis.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+ cd vorbis
+
+ git describe --tags | sed 's/^v//'
+}
+
+prepare() {
+ cd vorbis
+
+ ./autogen.sh
+}
+
+build() {
+ cd vorbis
+
+ ./configure \
+ --prefix=/usr \
+ --disable-static \
+ --enable-shared
+ make
+}
+
+check() {
+ make -C vorbis check
+}
+
+package() {
+ make DESTDIR="${pkgdir}" -C vorbis install
+ install -Dm 644 vorbis/COPYING -t "${pkgdir}"/usr/share/licenses/libvorbis
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list