Commit ad942012 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play wpsoffice: add version support

parent 2782c848
......@@ -3,6 +3,7 @@
PKGNAME=wps-office
SUPPORTEDARCHES="x86_64"
DESCRIPTION="WPS Office for Linux from the official site"
TIPS="Run epm play wpsoffice=<version> to install some specific version"
. $(dirname $0)/common.sh
......@@ -11,6 +12,7 @@ DESCRIPTION="WPS Office for Linux from the official site"
pkgverstr=$(epm tool eget -O- "https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=wps-office" | grep "^pkgver=")
eval $pkgverstr
[ -n "$pkgver" ] || pkgver=11.1.0.11664
[ -n "$2" ] && pkgver="$2"
pkgtype=$(epm print info -p)
case $pkgtype in
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment