summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-12-31 04:34:45 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-12-31 04:34:45 +0000
commitf9e25e1158abf2da548441c318f0980593db8eac (patch)
tree636460a39e7882e12e98af56582e2e556e491513
parent0a95e36e1f029dfaa9e271c42a0474155e100619 (diff)
downloadpackages-f9e25e1158abf2da548441c318f0980593db8eac.tar.gz
packages-f9e25e1158abf2da548441c318f0980593db8eac.tar.bz2
packages-f9e25e1158abf2da548441c318f0980593db8eac.tar.xz
packages-f9e25e1158abf2da548441c318f0980593db8eac.zip
user/fonttosfnt: new package
-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"