mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 05:37:15 +08:00
31 lines
941 B
Bash
31 lines
941 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=libxdmcp
|
|
pkgver=1.0.3
|
|
pkgrel=2
|
|
pkgdesc="X11 Display Manager Control Protocol library"
|
|
arch=(i686 x86_64)
|
|
url="http://xorg.freedesktop.org/"
|
|
license=('custom')
|
|
depends=('xproto' 'glibc')
|
|
makedepends=('pkgconfig')
|
|
options=('!libtool')
|
|
source=(${url}/releases/individual/lib/libXdmcp-${pkgver}.tar.bz2)
|
|
md5sums=('d60941d471800f41a3f19b24bea855a7')
|
|
|
|
build() {
|
|
cd ${srcdir}/libXdmcp-${pkgver}
|
|
./configure --prefix=/usr --sysconfdir=/etc --disable-static \
|
|
--host=${CHOST} --build=${CHOST}
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
|
|
}
|