Date: Sunday, January 10, 2021 @ 16:31:16
  Author: demize
Revision: 817103

archrelease: copy trunk to community-testing-x86_64

Added:
  libmediainfo/repos/community-testing-x86_64/
  libmediainfo/repos/community-testing-x86_64/PKGBUILD
    (from rev 817102, libmediainfo/trunk/PKGBUILD)

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Copied: libmediainfo/repos/community-testing-x86_64/PKGBUILD (from rev 817102, 
libmediainfo/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD                           (rev 0)
+++ community-testing-x86_64/PKGBUILD   2021-01-10 16:31:16 UTC (rev 817103)
@@ -0,0 +1,39 @@
+# Maintainer: Johannes Löthberg <[email protected]>
+# Contributor: Sergej Pupykin <[email protected]>
+# Contributor:  hydro <[email protected]>
+
+pkgname=libmediainfo
+pkgver=20.09
+pkgrel=1
+
+pkgdesc="shared library for mediainfo"
+url="https://mediaarea.net";
+arch=('x86_64')
+license=('BSD')
+
+depends=('curl' 'glib2' 'libmms' 'libzen')
+
+source=(https://mediaarea.net/download/source/libmediainfo/$pkgver/libmediainfo_$pkgver.tar.xz)
+
+sha256sums=('d07ce857330a9f9eedc4e5748f8022af1e9540e88a732d4e45c818c8ec4dd196')
+
+build() {
+  cd MediaInfoLib/Project/GNU/Library
+
+  ./autogen.sh
+  ./configure --prefix=/usr \
+              --enable-shared \
+              --disable-static \
+              --with-libcurl \
+              --with-libmms
+
+  make
+}
+
+package() {
+  cd MediaInfoLib/Project/GNU/Library
+
+  make DESTDIR="$pkgdir" install
+
+  install -D -m 644 "$srcdir"/MediaInfoLib/LICENSE 
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Reply via email to