summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Zou2021-06-28 18:06:53 +0200
committerMichel Zou2021-06-28 18:06:53 +0200
commit53d54b4131341977344f3ddb553ee6c0dd4ae415 (patch)
tree8d6cfacb504979b97b394235a544db07b2894647
parent642268d7816c495d073d84cb8c5da02246adaf58 (diff)
downloadaur-53d54b4131341977344f3ddb553ee6c0dd4ae415.tar.gz
GH157
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD6
2 files changed, 2 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 765fa9d8a8f..db332611d0e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -15,4 +15,3 @@ pkgbase = mingw-w64-libharu
md5sums = 4f916aa49c3069b3a10850013c507460
pkgname = mingw-w64-libharu
-
diff --git a/PKGBUILD b/PKGBUILD
index e41823aba7c..b90be62c7b6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,3 @@
-# Contributor: Ludovic LE ROUX <luudoroux at gmail dot com>
-
pkgname=mingw-w64-libharu
pkgver=2.3.0
pkgrel=1
@@ -20,12 +18,12 @@ prepare() {
sed -i "s|WIN32 AND NOT CYGWIN|WIN32 AND NOT CYGWIN AND NOT MINGW|g" src/CMakeLists.txt
sed -i "s|install(DIRECTORY if DESTINATION .)|message(STATUS hello)|g" CMakeLists.txt
sed -i "s|install(FILES README CHANGES INSTALL DESTINATION .)|message(STATUS hello)|g" CMakeLists.txt
+ rm -f src/hpdf_shading.c && curl -L https://github.com/libharu/libharu/pull/157.patch | patch -p1
}
build() {
cd "$srcdir/libharu-RELEASE_${pkgver//./_}"
for _arch in ${_architectures}; do
- unset LDFLAGS
mkdir -p build-${_arch} && pushd build-${_arch}
${_arch}-cmake \
-DCMAKE_BUILD_TYPE=Release \
@@ -42,4 +40,4 @@ package() {
${_arch}-strip --strip-unneeded "$pkgdir"/usr/${_arch}/bin/*.dll
${_arch}-strip -g "$pkgdir"/usr/${_arch}/lib/*.a
done
-} \ No newline at end of file
+}