# Packager = Tuxcore <dev@tuxcore.org> 
pkgname=libxfixes
pkgver=6.0.1
pkgrel=2
pkgdesc="X11 miscellaneous 'fixes' extension library"
arch=('x86_64')
url="https://xorg.freedesktop.org/"
license=('MIT' 'HPND-sell-variant')
depends=('libx11' 'xorgproto' 'glibc')
makedepends=('xorg-util-macros')
source=(${url}/releases/individual/lib/libXfixes-${pkgver}.tar.xz{,.sig})
sha512sums=('b46deffb30cd73ec8a127390d99f2ba2f3ab78f334fdba227f1f461441644a0c169b0d13ffa47576fa458780e7a6db664ff8b93e9195fb217262efd8128f1ffe'
            'SKIP')
#validpgpkeys+=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) <office@who-t.net>

build() {
  cd "libXfixes-${pkgver}"
  ./configure --prefix=/usr --sysconfdir=/etc --disable-static
  make
}

package() {
  cd "libXfixes-${pkgver}"
  make DESTDIR="${pkgdir}" install

  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}
