mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 05:57:14 +08:00
33 lines
819 B
Bash
33 lines
819 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
|
|
|
|
|
pkgname=libxdmcp
|
|
pkgver=1.1.1
|
|
pkgrel=1
|
|
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)
|
|
sha1sums=('3b63e8fc1600c51d9897d017da190fc6c16245b6')
|
|
|
|
build() {
|
|
cd "${srcdir}/libXdmcp-${pkgver}"
|
|
./configure --prefix=/usr --sysconfdir=/etc --disable-static
|
|
make
|
|
}
|
|
|
|
package () {
|
|
cd "${srcdir}/libXdmcp-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
|
|
}
|