initial import

This commit is contained in:
2025-06-22 20:39:04 -05:00
commit f8a70886f0
3428 changed files with 302546 additions and 0 deletions

31
libebml/PKGBUILD Normal file
View File

@@ -0,0 +1,31 @@
# Maintainer: Jesus E. <heckyel@riseup.net>
pkgname=libebml
pkgver=1.4.2
pkgrel=1
pkgdesc='Extensible Binary Meta Language library'
arch=('i686' 'x86_64')
url='https://github.com/Matroska-Org/libebml'
license=('LGPL-2.1')
depends=('gcc-libs')
makedepends=('cmake')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Matroska-Org/${pkgname}/archive/refs/tags/release-${pkgver}.tar.gz")
sha512sums=('2a03ca1d82a41ee05cfe4dd2726cc79295fa06a4d8eceb93fe8f41bdff09f04897b434b49dd1f496e1c014289b14c3f3416eab4c8b1e745652ff1ab4a620bf83')
prepare() {
mv ${pkgname}-release-${pkgver} ${pkgname}-${pkgver}
}
build() {
cmake -B build -S ${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DBUILD_SHARED_LIBS=ON
make -C build
}
package() {
make DESTDIR="${pkgdir}" -C build install
install -Dm644 "${srcdir}/${pkgname}-${pkgver}/LICENSE.LGPL" \
-t "${pkgdir}"/usr/share/licenses/${pkgname}
}