diff options
author | initrdmk | 2015-06-11 02:48:34 +0800 |
---|---|---|
committer | initrdmk | 2015-06-11 02:48:34 +0800 |
commit | 533217a26aad08584d14b685587945c8b6e4e9b6 (patch) | |
tree | b74edc5050c3d853ef737c7e57463b997d18ecb2 | |
download | aur-533217a26aad08584d14b685587945c8b6e4e9b6.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 19 | ||||
-rw-r--r-- | ttf-adobe-heiti.install | 12 |
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 +} |