summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorinitrdmk2015-06-11 02:48:34 +0800
committerinitrdmk2015-06-11 02:48:34 +0800
commit533217a26aad08584d14b685587945c8b6e4e9b6 (patch)
treeb74edc5050c3d853ef737c7e57463b997d18ecb2
downloadaur-533217a26aad08584d14b685587945c8b6e4e9b6.tar.gz
Initial import
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD19
-rw-r--r--ttf-adobe-heiti.install12
3 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..6fb9ad3db71d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = ttf-adobe-heiti
+ pkgdesc = One fonts of Adobe's AdobeHeitiStd.R style.
+ pkgver = 5.005
+ pkgrel = 2
+ url = http://www.adobe.com
+ install = ttf-adobe-heiti.install
+ arch = any
+ license = unknown
+ depends = fontconfig
+ source = http://gthemes-china.googlecode.com/files/AdobeHeitiStd.tar.gz
+ md5sums = 598e5c354679c2ed46ea64f23417b83a
+
+pkgname = ttf-adobe-heiti
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..513c16616bed
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,19 @@
+# Contributor: dongfengweixiao ( dongfengweixiao [at] gmail [dot] com )
+# initrdmk ( initrdmk [at] gmail [dot] com )
+# Maintainer: initrdmk ( initrdmk [at] gmail [dot] com )
+
+pkgname=ttf-adobe-heiti
+pkgver=5.005
+pkgrel=2
+pkgdesc="One fonts of Adobe's AdobeHeitiStd.R style."
+arch=('any')
+license=('unknown')
+url="http://www.adobe.com"
+depends=('fontconfig')
+install=ttf-adobe-heiti.install
+source=('http://gthemes-china.googlecode.com/files/AdobeHeitiStd.tar.gz')
+md5sums=('598e5c354679c2ed46ea64f23417b83a')
+
+package() {
+ install -Dm644 ${srcdir}/AdobeHeitiStd.otf ${pkgdir}/usr/share/fonts/Adobe/AdobeHeitiStd.otf
+}
diff --git a/ttf-adobe-heiti.install b/ttf-adobe-heiti.install
new file mode 100644
index 000000000000..efa9beb32123
--- /dev/null
+++ b/ttf-adobe-heiti.install
@@ -0,0 +1,12 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -f > /dev/null
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}