# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=xorg-util-macros
pkgver=1.20.1
pkgrel=1
pkgdesc="X.Org Autotools macros"
arch=('any')
license=('HPND-sell-variant AND MIT')
url="https://xorg.freedesktop.org/"
source=(${url}/releases/individual/util/util-macros-${pkgver}.tar.xz{,.sig})
sha512sums=('5f44d73c18ff87459cd94a68a961465b3970a36f0b55be65c0ec228320a675561eb24a1b1359745124302446a1a3fadc2f50d3378f439df5bd3e866cb8015286'
'SKIP')
validpgpkeys=('3BB639E56F861FA2E86505690FDD682D974CA72A') # # "Matt Turner <mattst88@gmail.com>"
#validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # "Alan Coopersmith <alan.coopersmith@oracle.com>"
build() {
cd util-macros-${pkgver}
./configure --prefix=/usr
make
}
package() {
cd util-macros-${pkgver}
make DESTDIR="${pkgdir}" install
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}