summaryrefslogtreecommitdiff
path: root/user/libfs/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-12-31 04:45:21 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-12-31 04:45:21 +0000
commit14046ecb9e166677a2abe81cb1129f406a9c2e04 (patch)
treec976b503088222ff2b677324feb30a0996168672 /user/libfs/APKBUILD
parentf9e25e1158abf2da548441c318f0980593db8eac (diff)
downloadpackages-14046ecb9e166677a2abe81cb1129f406a9c2e04.tar.gz
packages-14046ecb9e166677a2abe81cb1129f406a9c2e04.tar.bz2
packages-14046ecb9e166677a2abe81cb1129f406a9c2e04.tar.xz
packages-14046ecb9e166677a2abe81cb1129f406a9c2e04.zip
user/libfs: new package
Diffstat (limited to 'user/libfs/APKBUILD')
-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"