[arch-commits] Commit in kfilemetadata/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat May 18 07:53:43 UTC 2019


    Date: Saturday, May 18, 2019 @ 07:53:42
  Author: felixonmars
Revision: 353568

archrelease: copy trunk to staging-x86_64

Added:
  kfilemetadata/repos/staging-x86_64/
  kfilemetadata/repos/staging-x86_64/PKGBUILD
    (from rev 353567, kfilemetadata/trunk/PKGBUILD)

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

Copied: kfilemetadata/repos/staging-x86_64/PKGBUILD (from rev 353567, kfilemetadata/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2019-05-18 07:53:42 UTC (rev 353568)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kfilemetadata
+pkgver=5.58.0
+pkgrel=2
+pkgdesc="A library for extracting file metadata"
+arch=(x86_64)
+url='https://community.kde.org/Frameworks'
+license=(LGPL)
+depends=(ki18n karchive kconfig kcoreaddons exiv2 poppler-qt5 taglib ffmpeg ebook-tools)
+optdepends=('catdoc: Extract text from Office 98 files')
+makedepends=(extra-cmake-modules catdoc doxygen qt5-tools libappimage)
+optdepends=('libappimage: AppImage extractor')
+groups=(kf5)
+source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"{,.sig})
+sha256sums=('76665ba8ba6ab90cc0e8d682a5c5421fde7c436f5521c614d0b63c5277fabf9c'
+            'SKIP')
+validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure at kde.org>
+
+prepare() {
+  mkdir build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DBUILD_TESTING=OFF \
+    -DBUILD_QCH=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list