summaryrefslogtreecommitdiff
path: root/user/font-winitzki-cyrillic/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/font-winitzki-cyrillic/APKBUILD')
-rw-r--r--user/font-winitzki-cyrillic/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/user/font-winitzki-cyrillic/APKBUILD b/user/font-winitzki-cyrillic/APKBUILD
new file mode 100644
index 000000000..03e93b01f
--- /dev/null
+++ b/user/font-winitzki-cyrillic/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=font-winitzki-cyrillic
+pkgver=1.0.3
+pkgrel=0
+pkgdesc="Cyrillic X11 fonts from Serge Winitzki"
+url="https://www.X.Org/"
+arch="noarch"
+license="Public-Domain"
+depends="encodings font-alias fontconfig mkfontdir"
+makedepends="bdftopcf util-macros"
+subpackages=""
+source="https://www.x.org/releases/individual/font/font-winitzki-cyrillic-$pkgver.tar.bz2"
+
+prepare() {
+ cd "$builddir"
+ default_prepare
+ update_config_sub
+}
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" -name fonts.dir -exec rm {} +
+}
+
+sha512sums="f98fa99c1b0e60160b362310a7fe5fd5798aaa686751a6784a697c546ed754e885537eeed39a1f973dbceabc962cb65b39af1d336649381a49feb6df9f23e2b7 font-winitzki-cyrillic-1.0.3.tar.bz2"