aboutsummaryrefslogtreecommitdiffstats
path: root/main/mkfontscale/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/mkfontscale/APKBUILD')
-rw-r--r--main/mkfontscale/APKBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/main/mkfontscale/APKBUILD b/main/mkfontscale/APKBUILD
new file mode 100644
index 0000000000..283a98567f
--- /dev/null
+++ b/main/mkfontscale/APKBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=mkfontscale
+pkgver=1.0.7
+pkgrel=0
+pkgdesc="X.org font scale"
+url="http://xorg.freedesktop.org/"
+license="custom"
+subpackages="$pkgname-doc"
+depends=
+makedepends="pkgconfig libfontenc-dev freetype-dev xproto zlib-dev"
+install=
+triggers="$pkgname.trigger:/usr/share/fonts/*"
+source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar.bz2"
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ ./configure --prefix=/usr
+ make || return 1
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ make DESTDIR="$pkgdir" install || return 1
+}
+md5sums="96ca346f185c0ab48e42bf5bb0375da5 mkfontscale-1.0.7.tar.bz2"