diff options
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 5 | ||||
-rw-r--r-- | ttf-optimusprinceps.install | 20 |
3 files changed, 3 insertions, 27 deletions
@@ -1,14 +1,11 @@ pkgbase = ttf-optimusprinceps pkgdesc = Optimus Princeps font by Manfred Klein pkgver = 1.0 - pkgrel = 1 + pkgrel = 2 url = http://www.dafont.com/optimusprinceps.font - install = ttf-optimusprinceps.install arch = any license = custom makedepends = unzip - depends = fontconfig - depends = xorg-font-utils source = optimusprinceps.zip::http://img.dafont.com/dl/?f=optimusprinceps md5sums = 42b921226539e25d43e48bef2d19a816 @@ -3,16 +3,15 @@ pkgname=ttf-optimusprinceps pkgver=1.0 -pkgrel=1 +pkgrel=2 pkgdesc="Optimus Princeps font by Manfred Klein" arch=('any') url="http://www.dafont.com/optimusprinceps.font" license=('custom') makedepends=('unzip') -depends=(fontconfig xorg-font-utils) +depends=() source=("optimusprinceps.zip::http://img.dafont.com/dl/?f=optimusprinceps") md5sums=('42b921226539e25d43e48bef2d19a816') -install=$pkgname.install package() { install -dm755 "$pkgdir/usr/share/fonts/TTF" diff --git a/ttf-optimusprinceps.install b/ttf-optimusprinceps.install deleted file mode 100644 index 4f5212ef22ba..000000000000 --- a/ttf-optimusprinceps.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 $* |