summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD3
-rw-r--r--gnutypewriter.install20
3 files changed, 2 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8cf9ee276a0..719ea3a984d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,8 @@
pkgbase = otf-gnutypewriter
pkgdesc = A free font imitating a real typewriter.
pkgver = 20110624
- pkgrel = 2
+ pkgrel = 3
url = http://openfontlibrary.org/font/gnutypewriter
- install = gnutypewriter.install
arch = any
license = custom:OFL
depends = fontconfig
diff --git a/PKGBUILD b/PKGBUILD
index cfe1ab3581a..59069e80088 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,12 @@
# Contributor: feufochmar <feufochmar.gd@gmail.com>
pkgname=otf-gnutypewriter
pkgver=20110624
-pkgrel=2
+pkgrel=3
pkgdesc="A free font imitating a real typewriter."
arch=('any')
url="http://openfontlibrary.org/font/gnutypewriter"
license=('custom:OFL')
depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
-install=gnutypewriter.install
source=("http://openfontlibrary.org/assets/downloads/gnutypewriter/8a7cb57723df9125503083ed59e7a11c/gnutypewriter.zip")
package() {
diff --git a/gnutypewriter.install b/gnutypewriter.install
deleted file mode 100644
index 4f5212ef22b..00000000000
--- a/gnutypewriter.install
+++ /dev/null
@@ -1,20 +0,0 @@
-post_install() {
- echo -n "Updating font cache... "
- fc-cache -f > /dev/null
- mkfontscale /usr/share/fonts/TTF
- mkfontdir /usr/share/fonts/TTF
- echo "done."
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- post_install $1
-}
-
-op=$1
-shift
-
-$op $*