# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=xorg-cf-files
pkgver=1.0.8
pkgrel=2
pkgdesc="Data files for the imake utility"
url="https://xorg.freedesktop.org/"
arch="noarch"
license="custom"
makedepends="meson"
subpackages="$pkgname-doc"
source="https://xorg.freedesktop.org/releases/individual/util/xorg-cf-files-$pkgver.tar.xz"

build() {
	abuild-meson . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
	install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname/"
}

sha512sums="
cc633af889cd82346c3098df9185245c21aa9db7484343f8be9719f6e0b1fc0a9b09afb13b9b864668aa51944f2da797bbe896c807f629e89fc91506e6e63fb9  xorg-cf-files-1.0.8.tar.xz
"
