summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/libfs/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/user/libfs/APKBUILD b/user/libfs/APKBUILD
new file mode 100644
index 000000000..fd242d2f0
--- /dev/null
+++ b/user/libfs/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libfs
+pkgver=1.0.7
+pkgrel=0
+pkgdesc="X11 Font Server client library"
+url="https://www.X.Org/"
+arch="all"
+license="X11"
+depends="xtrans"
+depends_dev="util-macros"
+makedepends="$depends_dev xorgproto-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://www.x.org/releases/individual/lib/libFS-$pkgver.tar.bz2"
+builddir="$srcdir/libFS-$pkgver"
+
+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="3596e87710c14706ab345377799e9b2dbab79500fd75b4213f9615bf7db7df3265b4dbc65fdeca9d32343b848013780cfa1a43e76229665ce80246332bb8b96f libFS-1.0.7.tar.bz2"