new blfs: x11-libs/libXdmcp-1.1.5
This commit is contained in:
36
x11-libs/libXdmcp-1.1.5.PKGBUILD
Normal file
36
x11-libs/libXdmcp-1.1.5.PKGBUILD
Normal file
@@ -0,0 +1,36 @@
|
||||
pkgname=libXdmcp
|
||||
pkgver=1.1.5
|
||||
pkgdesc="X11 Display Manager Control Protocol library"
|
||||
arch=('x86_64')
|
||||
homepage="https://gitlab.freedesktop.org/xorg/lib/libxdmcp"
|
||||
license=('MIT-open-group')
|
||||
depends=('glibc' 'xorg-proto')
|
||||
sources=("${pkgname}-${pkgver}.tar.xz")
|
||||
urls=("https://xorg.freedesktop.org//releases/individual/lib/${sources[0]}")
|
||||
md5sums=("ce0af51de211e4c99a111e64ae1df290")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--disable-static \
|
||||
--disable-docs \
|
||||
--without-xmlto \
|
||||
--without-fop
|
||||
make
|
||||
}
|
||||
|
||||
src_check() {
|
||||
make -k check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
Reference in New Issue
Block a user