Browse Source

[trunk] -> [extra] 'libogg-1.3.5-1' add

master
Nathan Owens 6 months ago
parent
commit
e8f336f9e9
Signed by: ndowens GPG Key ID: DC5A6F8092641E2D
  1. 11
      libogg/trunk/PKGBUILD
  2. 11
      libogg/x86_64/extra/PKGBUILD

11
libogg/trunk/PKGBUILD

@ -3,8 +3,8 @@
# Contributor: John Proctor <jproctor@prium.net>
pkgname=libogg
pkgver=1.3.4
pkgrel=2
pkgver=1.3.5
pkgrel=1
pkgdesc='Ogg bitstream and framing library'
arch=(x86_64)
url=https://www.xiph.org/ogg/
@ -16,7 +16,7 @@ makedepends=(
ninja
)
provides=(libogg.so)
source=(git+https://github.com/xiph/ogg.git?signed#tag=3328abd152508614f7ce4cd491dc98d14eba7ffc)
source=(git+https://github.com/xiph/ogg.git?signed#tag=65b355cc20171010ecabf245e7b339aeab8ddbb9)
sha256sums=(SKIP)
validpgpkeys=(B7B00AEE1F960EEA0FED66FB9259A8F2D2D44C84) # Ralph Giles <giles@thaumas.net>
@ -30,15 +30,14 @@ prepare() {
}
build() {
local CFLAGS="$CPPFLAGS $CFLAGS" CXXFLAGS="$CPPFLAGS $CXXFLAGS"
cmake -Hogg -Bbuild -G Ninja \
cmake -S ogg -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_SHARED_LIBS=ON
cmake --build build
}
package() {
DESTDIR="${pkgdir}" cmake --build build --target install
DESTDIR="${pkgdir}" cmake --install build
install -Dm 644 ogg/COPYING -t "${pkgdir}"/usr/share/licenses/${pkgname}/
install -Dm 644 ogg/ogg.m4 -t "${pkgdir}"/usr/share/aclocal/
}

11
libogg/x86_64/extra/PKGBUILD

@ -3,8 +3,8 @@
# Contributor: John Proctor <jproctor@prium.net>
pkgname=libogg
pkgver=1.3.4
pkgrel=2
pkgver=1.3.5
pkgrel=1
pkgdesc='Ogg bitstream and framing library'
arch=(x86_64)
url=https://www.xiph.org/ogg/
@ -16,7 +16,7 @@ makedepends=(
ninja
)
provides=(libogg.so)
source=(git+https://github.com/xiph/ogg.git?signed#tag=3328abd152508614f7ce4cd491dc98d14eba7ffc)
source=(git+https://github.com/xiph/ogg.git?signed#tag=65b355cc20171010ecabf245e7b339aeab8ddbb9)
sha256sums=(SKIP)
validpgpkeys=(B7B00AEE1F960EEA0FED66FB9259A8F2D2D44C84) # Ralph Giles <giles@thaumas.net>
@ -30,15 +30,14 @@ prepare() {
}
build() {
local CFLAGS="$CPPFLAGS $CFLAGS" CXXFLAGS="$CPPFLAGS $CXXFLAGS"
cmake -Hogg -Bbuild -G Ninja \
cmake -S ogg -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_SHARED_LIBS=ON
cmake --build build
}
package() {
DESTDIR="${pkgdir}" cmake --build build --target install
DESTDIR="${pkgdir}" cmake --install build
install -Dm 644 ogg/COPYING -t "${pkgdir}"/usr/share/licenses/${pkgname}/
install -Dm 644 ogg/ogg.m4 -t "${pkgdir}"/usr/share/aclocal/
}

Loading…
Cancel
Save