Date: Monday, February 28, 2022 @ 20:45:08
  Author: felixonmars
Revision: 1138646

addpkg: docparser 1.0.1-1

Added:
  docparser/
  docparser/repos/
  docparser/trunk/
  docparser/trunk/PKGBUILD

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

Added: docparser/trunk/PKGBUILD
===================================================================
--- docparser/trunk/PKGBUILD                            (rev 0)
+++ docparser/trunk/PKGBUILD    2022-02-28 20:45:08 UTC (rev 1138646)
@@ -0,0 +1,25 @@
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+
+pkgname=docparser
+pkgver=1.0.1
+pkgrel=1
+pkgdesc='A document parser library ported from document2html'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/docparser";
+license=('GPL3')
+depends=('poppler')
+makedepends=('qt5-tools')
+groups=('deepin')
+source=("https://github.com/linuxdeepin/docparser/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
+b2sums=('382a8a6e781d8edd594076c65430086061057cb377cd90865b4518ad320bf4a7bff9f0c4eb7de63a92f795cc10253cc681b0bf5fc5c0032c02a35894da444570')
+
+build() {
+  cd docparser-$pkgver
+  qmake-qt5 PREFIX=/usr
+  make
+}
+
+package() {
+  cd docparser-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+}

Reply via email to