# 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=xhost pkgver=1.0.9 pkgrel=1 pkgdesc="Server access control program for X" arch=('x86_64') url="https://xorg.freedesktop.org/" license=('custom') groups=('xorg-apps' 'xorg') depends=('libx11' 'libxmu') makedepends=('util-macros') source=(https://www.x.org/pub/individual/app/${pkgname}-${pkgver}.tar.xz) sha256sums=(ea86b531462035b19a2e5e01ef3d9a35cca7d984086645e2fc844d8f0e346645) build() { cd ${pkgname}-${pkgver} ${CONFIGURE} \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }