From a03f0228e1f431f656105827054f7e6c63dc8717 Mon Sep 17 00:00:00 2001 From: Michael Aldridge Date: Thu, 18 May 2017 22:16:22 -0500 Subject: [PATCH] wps-office: add update file and template cleanup --- srcpkgs/wps-office/template | 6 ------ srcpkgs/wps-office/update | 2 ++ 2 files changed, 2 insertions(+), 6 deletions(-) create mode 100644 srcpkgs/wps-office/update diff --git a/srcpkgs/wps-office/template b/srcpkgs/wps-office/template index 39763d1d0c2..98059d5d65d 100644 --- a/srcpkgs/wps-office/template +++ b/srcpkgs/wps-office/template @@ -55,10 +55,4 @@ do_install() { rm ${DESTDIR}/opt/kingsoft/wps-office/README.txt rm -rf ${DESTDIR}/opt/kingsoft/wps-office/font* rm ${DESTDIR}/opt/kingsoft/wps-office/install_fonts - rm -rf ${DESTDIR}/usr/include - rm -rf ${DESTDIR}/usr/share/man - rm -rf ${DESTDIR}/usr/lib/pkgconfig - rm -rf ${DESTDIR}/usr/bin/libpng* - rm -f ${DESTDIR}/usr/lib/*.so - rm -f ${DESTDIR}/usr/lib/*.a } diff --git a/srcpkgs/wps-office/update b/srcpkgs/wps-office/update new file mode 100644 index 00000000000..4f0dc19177b --- /dev/null +++ b/srcpkgs/wps-office/update @@ -0,0 +1,2 @@ +site=http://wps-community.org/downloads +pattern='wps-office_\K[\d.]+(?=.*_x86.tar.xz)'