[arch-commits] Commit in libmspub/repos (3 files)
Felix Yan
felixonmars at gemini.archlinux.org
Sun Nov 21 22:12:49 UTC 2021
Date: Sunday, November 21, 2021 @ 22:12:49
Author: felixonmars
Revision: 428805
archrelease: copy trunk to staging-x86_64
Added:
libmspub/repos/staging-x86_64/
libmspub/repos/staging-x86_64/PKGBUILD
(from rev 428803, libmspub/trunk/PKGBUILD)
libmspub/repos/staging-x86_64/buildfix.diff
(from rev 428803, libmspub/trunk/buildfix.diff)
---------------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
buildfix.diff | 12 ++++++++++++
2 files changed, 45 insertions(+)
Copied: libmspub/repos/staging-x86_64/PKGBUILD (from rev 428803, libmspub/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2021-11-21 22:12:49 UTC (rev 428805)
@@ -0,0 +1,33 @@
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+# Contributor: Simone Sclavi 'Ito' <darkhado at gmail.com>
+
+pkgname=libmspub
+pkgver=0.1.4
+pkgrel=11
+pkgdesc="Microsoft Publisher file format parser library (latest snapshot)"
+arch=('x86_64')
+url="https://wiki.documentfoundation.org/DLP/Libraries/libmspub"
+license=('GPL2' 'LGPL2.1' 'MPL')
+depends=('libwpd' 'icu' 'librevenge')
+makedepends=('libwpg' 'boost' 'doxygen')
+source=(https://dev-www.libreoffice.org/src/${pkgname}/${pkgname}-${pkgver}.tar.xz
+ buildfix.diff)
+sha256sums=('ef36c1a1aabb2ba3b0bedaaafe717bf4480be2ba8de6f3894be5fd3702b013ba'
+ 'be1a871f9ebfb15d989605137d5de0c5dc67a3e383e0e1178037f8a9bdfc89dc')
+
+prepare() {
+ cd "${pkgname}"-${pkgver}
+ patch -Np1 -i ../buildfix.diff
+ autoreconf -vfi
+}
+
+build() {
+ cd "${pkgname}"-${pkgver}
+ ./configure --prefix=/usr --with-docs
+ make
+}
+
+package() {
+ cd "${pkgname}"-${pkgver}
+ make DESTDIR="$pkgdir" install
+}
Copied: libmspub/repos/staging-x86_64/buildfix.diff (from rev 428803, libmspub/trunk/buildfix.diff)
===================================================================
--- staging-x86_64/buildfix.diff (rev 0)
+++ staging-x86_64/buildfix.diff 2021-11-21 22:12:49 UTC (rev 428805)
@@ -0,0 +1,12 @@
+diff --git a/src/lib/MSPUBMetaData.h b/src/lib/MSPUBMetaData.h
+index 9167f4f..27bdd4f 100644
+--- a/src/lib/MSPUBMetaData.h
++++ b/src/lib/MSPUBMetaData.h
+@@ -13,6 +13,7 @@
+ #include <map>
+ #include <utility>
+ #include <vector>
++#include <stdint.h>
+
+ #include <librevenge/librevenge.h>
+
More information about the arch-commits
mailing list