Commit 4223a1ae authored by Jeff Huang's avatar Jeff Huang 😕

[skip-ci] libebml: update to 1.3.7

parent 88bda6db
Pipeline #2915 skipped
pkgname=libebml
pkgver=1.3.5
pkgrel=2
pkgver=1.3.7
pkgrel=1
pkgdesc="Extensible Binary Meta Language library"
arch=('x86_64')
url="http://dl.matroska.org/downloads/libebml/"
url="https://dl.matroska.org/downloads/libebml/"
license=('LGPL')
depends=('gcc-libs')
makedepends=('cmake')
source=("https://dl.matroska.org/downloads/${pkgname}/${pkgname}-${pkgver}.tar.xz")
md5sums=('f1e8c8e4664abb9f51483ff95019eeed')
md5sums=('a03b533851c1dc60911ba2f14b33e295')
prepare() {
if [[ -d build ]]; then
rm -rf build
fi
mkdir build
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
cd build
cmake ../$pkgname-$pkgver \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DBUILD_SHARED_LIBS=ON
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make prefix="${pkgdir}/usr" install
make DESTDIR="${pkgdir}" -C build install
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment