diff options
-rw-r--r-- | user/liblbxutil/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/user/liblbxutil/APKBUILD b/user/liblbxutil/APKBUILD new file mode 100644 index 000000000..def4dc83c --- /dev/null +++ b/user/liblbxutil/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=liblbxutil +pkgver=1.1.0 +pkgrel=0 +pkgdesc="Utility library for X11 Low Bandwidth extension" +url="https://www.X.Org/" +arch="all" +license="MIT" +depends="" +makedepends="xorgproto-dev zlib-dev" +subpackages="$pkgname-dev" +source="https://www.x.org/releases/individual/lib/liblbxutil-$pkgver.tar.bz2" + +prepare() { + cd "$builddir" + default_prepare + chmod a+w config.sub + update_config_sub +} + +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="93bdefef297d46a301dd1cab35ad186438e340822ba5aac20e9d8f4c51cd66e4118b0d9f4afc48ef33a67c6e413f551bcb59089d01597ed175b400902b9f23f4 liblbxutil-1.1.0.tar.bz2" |