summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Perez de Castro2019-10-29 01:09:54 +0200
committerAdrian Perez de Castro2019-10-29 01:09:54 +0200
commit14aeaaf8b26ef1f87674980250820deb129d4634 (patch)
treed8982b0c4fc9b6acd373186c153b9365c1ea97a1
parent84bc2b971e94c34cca88d21945c2bb6d3ff4632a (diff)
downloadaur-14aeaaf8b26ef1f87674980250820deb129d4634.tar.gz
Remove unneeded install script, modernize .gitignore
-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 9ad967f5805..8fc6460fde9 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 dca6aa48a38..218620e2fb3 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 ee83ccc38a9..963a85f1538 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 d7f2cbc1617..00000000000
--- 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
-}