From d1e3fac43dbeed251898abcb4ba7b3c6bf001b2f Mon Sep 17 00:00:00 2001 From: xhaa123 Date: Wed, 17 Apr 2024 11:11:48 +0800 Subject: [PATCH] libogg 1.3.5-1 --- PKGBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..8a01b6b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: Future Linux Team +pkgname=libogg +pkgver=1.3.5 +pkgrel=1 +pkgdesc="Ogg bitstream and framing library" +arch=('x86_64') +url="https://www.xiph.org/ogg" +license=('BSD') +depends=('glibc') +source=(https://downloads.xiph.org/releases/ogg/${pkgname}-${pkgver}.tar.xz) +sha256sums=(c4d91be36fc8e54deae7575241e03f4211eb102afb3fc0775fbbc1b740016705) + +build() { + cd ${pkgname}-${pkgver} + + ${CONFIGURE} --disable-static --docdir=/usr/share/doc/${pkgname}-${pkgver} + + make +} + +package() { + cd ${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install +}