aboutsummarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorManoel Vilela2019-02-27 22:48:53 -0300
committerManoel Vilela2019-02-27 22:48:53 -0300
commit37862dc465cf22d7f181e6e9e1f6872e0cdef060 (patch)
treee7d26d0864347a280d63d71abc77f05171188027
parentb6cc4474aff82cd70ba4513180f6a4a0cd2d00ab (diff)
downloadaur-37862dc465cf22d7f181e6e9e1f6872e0cdef060.tar.gz
Remove random shits
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD12
2 files changed, 2 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2272f9a2b244..6b0797643fc3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -24,6 +24,7 @@ pkgbase = wps-office-stable
optdepends = curl: An URL retrieval utility and library
optdepends = ttf-wps-fonts: Symbol fonts required by wps-office
optdepends = ttf-ms-fonts: Microsft Fonts recommended for wps-office
+ provides = wps-office
conflicts = kingsoft-office
conflicts = wps-office
options = !emptydirs
diff --git a/PKGBUILD b/PKGBUILD
index c94c8f065011..386ddc2f4933 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -29,18 +29,10 @@ source_x86_64=("http://kdl.cc.ksosoft.com/wps-community/download/6757/wps-office
-
-
-
-
-PKGEXT=".pkg.tar"
-
prepare() {
cd wps-office_${pkgver}_$_archext
sed -i 's|/opt/kingsoft/wps-office|/usr/lib|' wps wpp et
-# sed -i 's|/office6/${gApp} ${gOptExt}|/office6/${gApp} -style gtk+ ${gOptExt}|' wps
-# sed -i 's|/office6/${gApp} ${gOptExt}|/office6/${gApp} -style gtk+ ${gOptExt}|' wpp et
}
package() {
@@ -61,10 +53,8 @@ package() {
install -d "${pkgdir}/usr/share/mime"
cp -r resource/mime/* "${pkgdir}/usr/share/mime"
- #cp -r "$srcdir/usr/share" "${pkgdir}/usr/"
-
install -d "${pkgdir}/usr/share/fonts/wps-office"
- #cp -r fonts/* "${pkgdir}/usr/share/fonts/wps-office"
+
install -Dm644 office6/mui/default/EULA.txt "${pkgdir}/usr/share/licenses/$pkgname/EULA.txt"
}