aports/main/libxcursor/APKBUILD
2024-11-19 07:22:14 +00:00

34 lines
836 B
Text

# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxcursor
pkgver=1.2.3
pkgrel=0
pkgdesc="X cursor management library"
url="https://xorg.freedesktop.org/"
arch="all"
license="MIT"
options="!check" # No test suite.
subpackages="$pkgname-dev $pkgname-doc"
makedepends="xorgproto util-macros libx11-dev libxrender-dev libxfixes-dev"
source="https://www.x.org/releases/individual/lib/libXcursor-$pkgver.tar.xz"
builddir="$srcdir"/libXcursor-$pkgver
# secfixes:
# 1.1.15-r0:
# - CVE-2017-16612
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc
make
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
069a1eb27a0ee1b29b251bb6c2d0688543a791d6862fad643279e86736e1c12ca6fc02b85b8611c225a9735dc00efab84672d42b547baa97304362f0c5ae0b5a libXcursor-1.2.3.tar.xz
"