upgpkg: ocaml-topkg 1.0.5-2
[arch-packages.git] / libxdmcp / repos / extra-x86_64 / PKGBUILD
blob2e612bc14533894959c7ba29ab3230b16790233b
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
4 pkgname=libxdmcp
5 pkgver=1.1.4
6 pkgrel=2
7 pkgdesc="X11 Display Manager Control Protocol library"
8 arch=('x86_64')
9 url="https://xorg.freedesktop.org/"
10 license=('custom')
11 depends=('glibc' 'xorgproto')
12 makedepends=('xorg-util-macros')
13 provides=('libXdmcp.so')
14 source=(${url}/releases/individual/lib/libXdmcp-${pkgver}.tar.xz{,.sig})
15 sha512sums=('83b384d43bfb034c395f83f97d1c6e73aa3d5faa8f8756b08e697c0b9c3c87189651b51e8213fbd1f5f9cbc2d8136cbf143627481744345d78cfe0ff2ad074a9'
16             'SKIP')
17 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <alan.coopersmith@oracle.com>
19 build() {
20   cd libXdmcp-${pkgver}
21   ./configure --prefix=/usr --sysconfdir=/etc --disable-static
22   make
25 package() {
26   cd libXdmcp-${pkgver}
27   make DESTDIR="${pkgdir}" install
29   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
30   install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"