summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorUniversebenzene2019-07-18 23:27:28 +0800
committerUniversebenzene2019-07-18 23:27:28 +0800
commitc49c02be37c0a24a064b3b3ef34b810498e9a5e4 (patch)
treeff0bffd26b39ff8fa2a4e4cb7f722b37f6e66aba /PKGBUILD
downloadaur-c49c02be37c0a24a064b3b3ef34b810498e9a5e4.tar.gz
Initial import 1.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD21
1 files changed, 21 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..296d8dadf87
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Astro Benzene <universebenzene at sina dot com>
+
+pkgname=wps-office-fonts
+pkgver=1.0
+pkgrel=1
+pkgdesc="The wps-office-fonts package contains Founder Chinese fonts"
+arch=(any)
+url="http://wps-community.org/"
+license=(custom)
+source=("http://kdl.cc.ksosoft.com/wps-community/download/fonts/${pkgname}_${pkgver}_all.deb")
+sha256sums=('497481e27a2fbb7899c9b030f978372e17467ba332c958c2fd9d1a76ec4e40df')
+
+prepare() {
+ tar -Jxf data.tar.xz
+}
+
+package() {
+ cd "${srcdir}/usr/share/fonts/${pkgname%-fonts}"
+
+ install -Dm644 -t "${pkgdir}/usr/share/fonts/${pkgname%-fonts}" *.TTF
+}