1 # Maintainer: Jan de Groot <jgc@archlinux.org>
6 pkgdesc="X server resource database utility"
8 url="https://xorg.freedesktop.org/"
10 depends=('libx11' 'libxmu')
11 makedepends=('xorg-util-macros')
12 optdepends=('gcc: for preprocessing'
13 'mcpp: a lightweight alternative for preprocessing')
14 groups=('xorg-apps' 'xorg')
15 source=(https://xorg.freedesktop.org/archive/individual/app/xrdb-${pkgver}.tar.bz2{,.sig})
16 sha512sums=('d88135cdfea8536523dfb986249ee42761d5363c936352f12f55b4d0c849f21236f7d74d39869c5ec5b549019d6ed89d9096cde4b3c2b4816c2778a8e370b5c9'
18 #validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # "Alan Coopersmith <alan.coopersmith@oracle.com>"
19 validpgpkeys=('C41C985FDCF1E5364576638B687393EE37D128F8') # "Matthieu Herrb <matthieu.herrb@laas.fr>"
23 # --with-cpp=path comma-separated list of paths to cpp command for xrdb to use at runtime
24 # mcpp is small but can fail, FS#46934
25 ./configure --prefix=/usr --with-cpp=/usr/bin/cpp,/usr/bin/mcpp
31 make DESTDIR="${pkgdir}" install
32 install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"