mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-31 06:12:14 +01:00
Since abuild v2.22.0, these are removed automatically unless 'libtool' option has been specified.
43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libxcursor
|
|
pkgver=1.1.14
|
|
pkgrel=1
|
|
pkgdesc="X cursor management library"
|
|
url="http://xorg.freedesktop.org/"
|
|
arch="all"
|
|
license="custom"
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
|
depends=
|
|
depends_dev="xproto libx11-dev libxrender-dev libxfixes-dev"
|
|
makedepends="$depends_dev"
|
|
source="http://xorg.freedesktop.org/releases/individual/lib/libXcursor-$pkgver.tar.bz2"
|
|
|
|
_builddir="$srcdir"/libXcursor-$pkgver
|
|
prepare() {
|
|
cd "$_builddir"
|
|
for i in $source; do
|
|
case $i in
|
|
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
|
esac
|
|
done
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
}
|
|
md5sums="1e7c17afbbce83e2215917047c57d1b3 libXcursor-1.1.14.tar.bz2"
|
|
sha256sums="9bc6acb21ca14da51bda5bc912c8955bc6e5e433f0ab00c5e8bef842596c33df libXcursor-1.1.14.tar.bz2"
|
|
sha512sums="687963b54da66be25371f64a88f91812b38de4ffc3b806070f3aeb1da379df16ede819201a352b3fb66efc6b40a36a22770add3ae464f2008aff3e23cb60a8e6 libXcursor-1.1.14.tar.bz2"
|