### generated by gen-xlibs-pkg.sh from BLFS 11.3 on 2023-04-04
PKGVER=1.2.1
PKGBUILD=1
PKGARCH=x86_64

TARBALL=libXcursor-1.2.1.tar.xz
MD5SUM=4cdd1886fe5cce6f68554296edb46db8
SRC_URL=https://www.x.org/pub/individual/lib/$TARBALL
BUNDLE=

SLACKREQ=
SLACKDESC='libXcursor: libXcursor 1.2.1 (X11 system library)  
libXcursor:  
libXcursor: X11 Cursor management library.
libXcursor: 
libXcursor: 
libXcursor: 
libXcursor: 
libXcursor: 
libXcursor: 
libXcursor: 
libXcursor:
'

### default pkg_download
### default pkg_prepare
### package - only collect the libraries for 32bit libs
pkg_package() {
	[ "" ] &&
	rm -rf bin sbin usr/bin usr/sbin usr/include usr/share etc
	return 0
}

### build
pkg_build() {
	case $TARBALL in
		libXfont2-*) CONFFLAGS="$XORG_CONFIG --disable-devel-docs" ;;
		libXt-*) CONFFLAGS="$XORG_CONFIG --with-appdefaultdir=/etc/X11/app-defaults" ;;
		libXpm-*) sed -i '/TestAll.*TRUE/s|^|//|' test/TestAllFiles.h; CONFFLAGS="$XORG_CONFIG --disable-open-zfile" ;;
		*) CONFFLAGS="$XORG_CONFIG" ;;
	esac
	
	pkg_build_autoconf && pkg_build_slackdesc
}
