31 lines
788 B
Bash
31 lines
788 B
Bash
# Template file for 'libXrandr'
|
|
pkgname=libXrandr
|
|
version=1.5.3
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-malloc0returnsnull"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="xorgproto libXext-devel libXrender-devel"
|
|
short_desc="X RandR Library from X.org"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="$XORG_SITE"
|
|
distfiles="${XORG_SITE}/lib/${pkgname}-${version}.tar.xz"
|
|
checksum=897639014a78e1497704d669c5dd5682d721931a4452c89a7ba62676064eb428
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
libXrandr-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/share/man/man3
|
|
}
|
|
}
|