summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO7
-rw-r--r--.gitignore8
-rw-r--r--PKGBUILD7
-rw-r--r--ttf-clear-sans.install15
4 files changed, 9 insertions, 28 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9ad967f5805b..8fc6460fde90 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,10 @@
pkgbase = ttf-clear-sans
pkgdesc = A versatile OpenType font for screen, print and Web
pkgver = 1.00
- pkgrel = 2
+ pkgrel = 3
url = https://01.org/clear-sans
- install = ttf-clear-sans.install
arch = any
- license = Apache2
- depends = fontconfig
- depends = xorg-font-utils
+ license = custom:Apache2
source = https://01.org/sites/default/files/downloads/clearsans-1.00.zip
sha256sums = 41809a296870dd7b4753d6532b4093821d61f9806281e6c053ccb11083ad1190
diff --git a/.gitignore b/.gitignore
index dca6aa48a388..218620e2fb38 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,4 @@
-*.zip
-*.pkg.tar.xz
-pkg/
-src/
+*
+!/PKGBUILD
+!/.SRCINFO
+!/.gitignore
diff --git a/PKGBUILD b/PKGBUILD
index ee83ccc38a98..963a85f15384 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,13 @@
# Maintainer: Patrick McCarty <pnorcks at gmail dot com>
+# Contributor: Adrian Perez de Castro <aperez at igalia dot com>
pkgname=ttf-clear-sans
pkgver=1.00
-pkgrel=2
+pkgrel=3
pkgdesc="A versatile OpenType font for screen, print and Web"
arch=('any')
url="https://01.org/clear-sans"
-license=('Apache2')
-depends=('fontconfig' 'xorg-font-utils')
-install="$pkgname.install"
+license=('custom:Apache2')
source=("https://01.org/sites/default/files/downloads/clearsans-${pkgver}.zip")
sha256sums=('41809a296870dd7b4753d6532b4093821d61f9806281e6c053ccb11083ad1190')
diff --git a/ttf-clear-sans.install b/ttf-clear-sans.install
deleted file mode 100644
index d7f2cbc1617c..000000000000
--- a/ttf-clear-sans.install
+++ /dev/null
@@ -1,15 +0,0 @@
-post_install() {
- echo -n "Updating font cache... "
- fc-cache -s
- mkfontscale usr/share/fonts/TTF
- mkfontdir usr/share/fonts/TTF
- echo "done."
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}