aboutsummaryrefslogtreecommitdiffstats
path: root/x11/font-cronyx-cyrillic
diff options
context:
space:
mode:
Diffstat (limited to 'x11/font-cronyx-cyrillic')
-rw-r--r--x11/font-cronyx-cyrillic/APKBUILD11
-rw-r--r--x11/font-cronyx-cyrillic/font-cronyx-cyrillic.post-install8
l---------x11/font-cronyx-cyrillic/font-cronyx-cyrillic.post-upgrade1
3 files changed, 4 insertions, 16 deletions
diff --git a/x11/font-cronyx-cyrillic/APKBUILD b/x11/font-cronyx-cyrillic/APKBUILD
index c36eb9149c..e4b155815e 100644
--- a/x11/font-cronyx-cyrillic/APKBUILD
+++ b/x11/font-cronyx-cyrillic/APKBUILD
@@ -1,15 +1,14 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=font-cronyx-cyrillic
pkgver=1.0.0
-pkgrel=0
+pkgrel=1
pkgdesc="X.org cronyx cyrillic fonts"
url="http://xorg.freedesktop.org/"
license="custom"
depends="encodings font-alias mkfontscale mkfontdir fontconfig"
makedepends="pkgconfig font-util-dev bdftopcf"
-install="$pkgname.post-install $pkgname.post-upgrade"
-source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.tar.bz2
- $install"
+install=
+source="http://xorg.freedesktop.org/releases/individual/font/$pkgname-$pkgver.tar.bz2"
build() {
cd "$srcdir"/$pkgname-$pkgver
@@ -20,6 +19,4 @@ build() {
make -j1 DESTDIR="$pkgdir" MKFONTDIR=: MKFONTSCALE=: install || return 1
}
-md5sums="22b451e7230b8c003cfc496ee2d360cc font-cronyx-cyrillic-1.0.0.tar.bz2
-e738ad911ff453b7c957007832845f21 font-cronyx-cyrillic.post-install
-e738ad911ff453b7c957007832845f21 font-cronyx-cyrillic.post-upgrade"
+md5sums="22b451e7230b8c003cfc496ee2d360cc font-cronyx-cyrillic-1.0.0.tar.bz2"
diff --git a/x11/font-cronyx-cyrillic/font-cronyx-cyrillic.post-install b/x11/font-cronyx-cyrillic/font-cronyx-cyrillic.post-install
deleted file mode 100644
index 0d2f0d77cd..0000000000
--- a/x11/font-cronyx-cyrillic/font-cronyx-cyrillic.post-install
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-echo -n "Updating font cache (TODO: implement triggers in apk)... "
-fc-cache -f > /dev/null
-mkfontscale /usr/share/fonts/cyrillic
-mkfontdir /usr/share/fonts/cyrillic
-echo "done."
-
diff --git a/x11/font-cronyx-cyrillic/font-cronyx-cyrillic.post-upgrade b/x11/font-cronyx-cyrillic/font-cronyx-cyrillic.post-upgrade
deleted file mode 120000
index 1198ffd257..0000000000
--- a/x11/font-cronyx-cyrillic/font-cronyx-cyrillic.post-upgrade
+++ /dev/null
@@ -1 +0,0 @@
-font-cronyx-cyrillic.post-install \ No newline at end of file