# Packager = Tuxcore <dev@tuxcore.org> 
pkgname=libxxf86vm
pkgver=1.1.5
pkgrel=1
pkgdesc="X11 XFree86 video mode extension library"
arch=('x86_64')
license=('custom')
url="https://xorg.freedesktop.org/"
depends=('libxext')
makedepends=('xorg-util-macros' 'xorgproto')
source=(${url}/releases/individual/lib/libXxf86vm-${pkgver}.tar.xz{,.sig})
sha512sums=('68226fcb9773a583ea417ab413146203dd7db6ff8a4d388285da972353355e11e179861a77c9fa284aefac025bb3bbf5a9537fa0bf246c782e0116a667c9d9b6'
            'SKIP')

build() {
  cd libXxf86vm-${pkgver}
  ./configure --prefix=/usr --disable-static
  make
}

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

  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
