pkgname=libxcvt pkgver=0.1.2 pkgrel=2 pkgdesc="Library to generate VESA CVT standard timing modelines." arch=('x86_64') url="https://gitlab.freedesktop.org/xorg/lib/libxcvt" license=('custom') makedepends=('meson' 'ninja') source=("https://xorg.freedesktop.org/releases/individual/lib/${pkgname}-${pkgver}.tar.xz") sha256sums=('0561690544796e25cfbd71806ba1b0d797ffe464e9796411123e79450f71db38') build() { mkdir -p build cd build meson ../${pkgname}-${pkgver} \ --prefix=/usr \ --buildtype=release ninja } package() { cd build DESTDIR=${pkgdir} ninja install install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname} install -m644 ../${pkgname}-${pkgver}/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/ }