🔒 Repository is read-only – file editing is disabled.
12345678910111213141516171819202122232425262728293031323334353637383940414243
pkgname: libzen
pkgver: '0.4.41'
pkgrel: '2'
pkgdesc: 'Shared library for libmediainfo and mediainfo'
url: 'https://mediainfo.sourceforge.net/'
arch: x86_64
depends: []
makedepends:
- automake
- autoconf
- libtool
source:
- 'https://mediaarea.net/download/source/${pkgname}/${pkgver}/${pkgname}_${pkgver}.tar.xz'
sha256sums:
- SKIP
build: |
cd ZenLib/Project/GNU/Library
./autogen.sh
./configure --prefix=/usr --enable-shared
make clean
make
make DESTDIR=${PKGDIR} install
install -dm755 ${PKGDIR}/usr/include/ZenLib
install -m644 ../../../Source/ZenLib/*.h ${PKGDIR}/usr/include/ZenLib
for i in HTTP_Client Format/Html Format/Http; do
install -dm0755 ${PKGDIR}/usr/include/ZenLib/$i
install -m0644 ../../../Source/ZenLib/$i/*.h \
${PKGDIR}/usr/include/ZenLib/$i
done
install -dm755 ${PKGDIR}/usr/lib/pkgconfig
install -m644 ./libzen.pc \
${PKGDIR}/usr/lib/pkgconfig
sed -i -e 's|Version: |Version: '${pkgver}'|g' \
${PKGDIR}/usr/lib/pkgconfig/libzen.pc
# Obsolet lib
rm -f ${PKGDIR}/usr/lib/libzen.la
package: |
true