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

Felix Yan felixonmars at archlinux.org
Fri Apr 5 12:14:54 UTC 2019


    Date: Friday, April 5, 2019 @ 12:14:53
  Author: felixonmars
Revision: 349874

archrelease: copy trunk to staging-x86_64

Added:
  libzmf/repos/staging-x86_64/
  libzmf/repos/staging-x86_64/PKGBUILD
    (from rev 349873, libzmf/trunk/PKGBUILD)

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

Copied: libzmf/repos/staging-x86_64/PKGBUILD (from rev 349873, libzmf/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2019-04-05 12:14:53 UTC (rev 349874)
@@ -0,0 +1,31 @@
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+
+pkgname=libzmf
+pkgver=0.0.2
+pkgrel=6
+pkgdesc="a library for import of Zoner drawing and bitmap files"
+arch=('x86_64')
+url="https://wiki.documentfoundation.org/DLP/Libraries/libzmf"
+license=('MPL')
+source=(https://dev-www.libreoffice.org/src/${pkgname}/${pkgname}-${pkgver}.tar.xz)
+depends=('librevenge' 'libpng')
+makedepends=('boost' 'cppunit' 'doxygen')
+sha256sums=('27051a30cb057fdb5d5de65a1f165c7153dc76e27fe62251cbb86639eb2caf22')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr --disable-werror
+  make
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  make check
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}
+


More information about the arch-commits mailing list