summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Perez de Castro2016-05-18 14:25:12 +0300
committerAdrian Perez de Castro2016-05-18 14:25:12 +0300
commit95e1d320534279243dab236d2f2c18e5957b61f6 (patch)
treec208d44a3f47c58b1c2afdc8066cc29c2414448e
parentd88e4321a62f4d2ae4a003d44a4db18b821b84b9 (diff)
downloadaur-95e1d320534279243dab236d2f2c18e5957b61f6.tar.gz
Remove the install script, libalpm hooks do the work now
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
-rw-r--r--ttf-mononoki-git.install15
3 files changed, 3 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index daa1b3a040f2..0878e64209c8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,10 @@
pkgbase = ttf-mononoki-git
pkgdesc = Monospace font for programmers, successor of monoOne
pkgver = r65.40b503e
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/madmalik/mononoki/
- install = ttf-mononoki-git.install
arch = any
license = custom:OFL
- depends = xorg-font-utils
depends = fontconfig
provides = ttf-mononoki
conflicts = ttf-mononoki
diff --git a/PKGBUILD b/PKGBUILD
index a3fb9b8485d5..78b2b15289a3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,13 @@
pkgname='ttf-mononoki-git'
pkgdesc='Monospace font for programmers, successor of monoOne'
pkgver=r65.40b503e
-pkgrel=1
+pkgrel=2
arch=('any')
license=('custom:OFL')
-depends=('xorg-font-utils' 'fontconfig')
+depends=('fontconfig')
url='https://github.com/madmalik/mononoki/'
source=("${pkgname}::git+${url}")
sha512sums=('SKIP')
-install="${pkgname}.install"
conflicts=('ttf-mononoki')
provides=( "${conflicts[@]}" )
diff --git a/ttf-mononoki-git.install b/ttf-mononoki-git.install
deleted file mode 100644
index 68f057cfb74e..000000000000
--- a/ttf-mononoki-git.install
+++ /dev/null
@@ -1,15 +0,0 @@
-post_install() {
- echo "Updating font cache..."
- fc-cache -s
- mkfontscale /usr/share/fonts/ttf-mononoki
- mkfontdir /usr/share/fonts/ttf-mononoki
- echo "Done."
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- post_install $1
-}