commit b23504370ca553a7407212509d400273fa05dcb7 Author: xhaa123 Date: Mon Apr 15 10:10:10 2024 +0800 libxdmcp 1.1.5-1 diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..10c51ac --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: Future Linux Team +pkgname=libxdmcp +pkgver=1.1.5 +pkgrel=1 +pkgdesc="X11 Display Manager Control Protocol library" +arch=('x86_64') +url="https://xorg.freedesktop.org/" +license=('custom') +depends=('glibc' 'xorgproto') +makedepends=('util-macros') +source=(https://www.x.org/pub/individual/lib/libXdmcp-${pkgver}.tar.xz) +sha256sums=(d8a5222828c3adab70adf69a5583f1d32eb5ece04304f7f8392b6a353aa2228c) + +build() { + cd libXdmcp-${pkgver} + + ${CONFIGURE} \ + --disable-static \ + --docdir=/usr/share/doc/${pkgname}-${pkgver} + + make +} + +package() { + cd libXdmcp-${pkgver} + + make DESTDIR=${pkgdir} install +}