summaryrefslogtreecommitdiffstats
path: root/main/encodings
diff options
context:
space:
mode:
Diffstat (limited to 'main/encodings')
-rw-r--r--main/encodings/APKBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/main/encodings/APKBUILD b/main/encodings/APKBUILD
new file mode 100644
index 000000000..7b9cca22c
--- /dev/null
+++ b/main/encodings/APKBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=encodings
+pkgver=1.0.3
+pkgrel=0
+pkgdesc="X.org font encoding files"
+url="http://xorg.freedesktop.org/"
+license="custom"
+depends=
+makedepends="pkgconfig mkfontscale"
+install=
+source="http://xorg.freedesktop.org/releases/individual/font/encodings-$pkgver.tar.bz2"
+
+build() {
+ cd "$srcdir"/encodings-$pkgver
+ ./configure --prefix=/usr \
+ --with-encodingsdir=/usr/share/fonts/encodings
+ make || return 1
+}
+
+package() {
+ cd "$srcdir"/encodings-$pkgver
+ make DESTDIR="$pkgdir" install || return 1
+}
+md5sums="29637480e7ce12546668631067c19ced encodings-1.0.3.tar.bz2"