summaryrefslogtreecommitdiff
path: root/user/showfont/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-12-31 08:07:20 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-12-31 08:07:20 +0000
commit02f40ab9e90a6a89a8a48ba60bf35d4b78460297 (patch)
tree57cf5ee056cc63ef12b646967b1dd6349e5071c6 /user/showfont/APKBUILD
parent134ddcafc04e2010569772b58138e9bee89533e6 (diff)
downloadpackages-02f40ab9e90a6a89a8a48ba60bf35d4b78460297.tar.gz
packages-02f40ab9e90a6a89a8a48ba60bf35d4b78460297.tar.bz2
packages-02f40ab9e90a6a89a8a48ba60bf35d4b78460297.tar.xz
packages-02f40ab9e90a6a89a8a48ba60bf35d4b78460297.zip
user/showfont: new package
Diffstat (limited to 'user/showfont/APKBUILD')
-rw-r--r--user/showfont/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/showfont/APKBUILD b/user/showfont/APKBUILD
new file mode 100644
index 000000000..63af1593b
--- /dev/null
+++ b/user/showfont/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=showfont
+pkgver=1.0.5
+pkgrel=0
+pkgdesc="Utility to display font information from an X11 Font Server"
+url="https://www.X.Org/"
+arch="all"
+license="X11"
+depends=""
+makedepends="libfs-dev"
+subpackages="$pkgname-doc"
+source="https://www.x.org/releases/individual/app/showfont-$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="d90d6d99ca573f2632435ccfd46de606994e3792deb58bab6261ff950481ec71eef032b828da0ee5333d6946c5f54594dfb2dadf930825971d3f4baa5c0ff6fd showfont-1.0.5.tar.bz2"