aports/main/libxtst/APKBUILD
Roman Shaposhnik 988c4057d6 main/*: bulk update of config.sub
Required for riscv64 needs

Signed-off-by: Roman Shaposhnik <rvs@zededa.com>
2021-06-05 17:32:41 +00:00

41 lines
1017 B
Plaintext

# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxtst
pkgver=1.2.3
pkgrel=3
pkgdesc="X11 Testing -- Resource extension library"
url="https://wiki.freedesktop.org/xorg/"
arch="all"
license="custom"
options="!check" # No test suite.
subpackages="$pkgname-dev $pkgname-doc"
makedepends="xorgproto libx11-dev libxext-dev libxi-dev util-macros"
source="https://www.x.org/releases/individual/lib/libXtst-$pkgver.tar.bz2
"
prepare() {
default_prepare
update_config_sub
}
builddir="$srcdir"/libXtst-$pkgver
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--disable-static
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
sha512sums="6f6741fd3596775eaa056465319f78c29c91b3893a851a4899df651a2023a4d762497b112a33d7d3e8865fe85d173d03e4b49daef76a66af1ae1eaab82a12765 libXtst-1.2.3.tar.bz2"