summaryrefslogtreecommitdiff
path: root/user/fonttosfnt/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/fonttosfnt/APKBUILD')
-rw-r--r--user/fonttosfnt/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/fonttosfnt/APKBUILD b/user/fonttosfnt/APKBUILD
new file mode 100644
index 000000000..62d1ddcae
--- /dev/null
+++ b/user/fonttosfnt/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=fonttosfnt
+pkgver=1.0.5
+pkgrel=0
+pkgdesc="Wrap X11 bitmap fonts in TrueType containers"
+url="https://www.X.Org/"
+arch="all"
+license="X11"
+depends=""
+makedepends="freetype-dev libfontenc-dev util-macros xorgproto-dev"
+subpackages="$pkgname-doc"
+source="https://www.x.org/releases/individual/app/fonttosfnt-$pkgver.tar.bz2"
+
+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
+}
+
+sha512sums="dba990098c95b07bc7240699a5c9ea11f056fbfddd70f669ae283548cbf20d756b28d817a99548c23ba81de9792877296ab6f35ee3c630e5c3cd8f14650ce297 fonttosfnt-1.0.5.tar.bz2"