summaryrefslogtreecommitdiff
path: root/libcdr/Pkgfile
diff options
context:
space:
mode:
authorDanny Rawlins <contact@romster.me>2020-11-15 00:40:05 +1100
committerDanny Rawlins <contact@romster.me>2020-11-15 00:40:05 +1100
commit9308add1c156676e55ae5815ea5c627033579364 (patch)
tree844bf28fa6f7e5f5722ef5f3a1249da7ece07422 /libcdr/Pkgfile
parent4f5e964aaae7cd55e8fd09729599cac0d06d2ca3 (diff)
downloadcontrib-9308add1c156676e55ae5815ea5c627033579364.tar.gz
contrib-9308add1c156676e55ae5815ea5c627033579364.tar.xz
libcdr: icu 68 fix
Diffstat (limited to 'libcdr/Pkgfile')
-rw-r--r--libcdr/Pkgfile8
1 files changed, 5 insertions, 3 deletions
diff --git a/libcdr/Pkgfile b/libcdr/Pkgfile
index fc78cea2b..50dd34417 100644
--- a/libcdr/Pkgfile
+++ b/libcdr/Pkgfile
@@ -6,13 +6,15 @@
name=libcdr
version=0.1.6
release=1
-source=(https://dev-www.libreoffice.org/src/$name/$name-$version.tar.xz)
+source=(https://dev-www.libreoffice.org/src/$name/$name-$version.tar.xz
+ libcdr-0.1.6-icu-68.patch)
build() {
cd $name-$version
+ [ $(pkginfo -i | awk '/^icu / {split($2,a,"."); print a[1]}') -ge 68 ] && \
+ patch -p1 -i $SRC/libcdr-0.1.6-icu-68.patch
./configure --prefix=/usr \
- --without-docs \
- --without-tests
+ --without-docs
make
make DESTDIR=$PKG install
}

Generated by cgit