summaryrefslogtreecommitdiff
path: root/user/xlsfonts/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-01 08:15:18 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-01 08:15:18 +0000
commite8cd8b87b59ca14b1281848736a0ece77ad14b45 (patch)
tree0366f8d747d328bace79766dd63e7824acc4689f /user/xlsfonts/APKBUILD
parent69f6c9bbf2edd3dd8674b2150feea6c542b37c6d (diff)
downloadpackages-e8cd8b87b59ca14b1281848736a0ece77ad14b45.tar.gz
packages-e8cd8b87b59ca14b1281848736a0ece77ad14b45.tar.bz2
packages-e8cd8b87b59ca14b1281848736a0ece77ad14b45.tar.xz
packages-e8cd8b87b59ca14b1281848736a0ece77ad14b45.zip
user/xlsfonts: new package
Diffstat (limited to 'user/xlsfonts/APKBUILD')
-rw-r--r--user/xlsfonts/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/xlsfonts/APKBUILD b/user/xlsfonts/APKBUILD
new file mode 100644
index 000000000..054386397
--- /dev/null
+++ b/user/xlsfonts/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=xlsfonts
+pkgver=1.0.6
+pkgrel=0
+pkgdesc="List available fonts on an X11 server"
+url="https://www.X.Org/"
+arch="all"
+license="X11"
+depends=""
+makedepends="libx11-dev util-macros xorgproto-dev"
+subpackages="$pkgname-doc"
+source="https://www.x.org/releases/individual/app/xlsfonts-$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="052a3b1dec23cb20fdfacd4500cb836feb3b888bf568a548ea71deb58a4ba10a1ad5392d658e95272c6d4a1832edf1f19c3de2498b78dca82c43ee52800a30c0 xlsfonts-1.0.6.tar.bz2"