113.0-1
[arch-packages.git] / xorg-xrdb / repos / extra-x86_64 / PKGBUILD
blobf5363acfbfd4b5bf5de2e145b6769df43a59bdab
1 # Maintainer: Jan de Groot <jgc@archlinux.org>
3 pkgname=xorg-xrdb
4 pkgver=1.2.1
5 pkgrel=1
6 pkgdesc="X server resource database utility"
7 arch=('x86_64')
8 url="https://xorg.freedesktop.org/"
9 license=('custom')
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'
17             'SKIP')
18 #validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # "Alan Coopersmith <alan.coopersmith@oracle.com>"
19 validpgpkeys=('C41C985FDCF1E5364576638B687393EE37D128F8') # "Matthieu Herrb <matthieu.herrb@laas.fr>"
21 build() {
22   cd xrdb-${pkgver}
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
26   make
29 package() {
30   cd xrdb-${pkgver}
31   make DESTDIR="${pkgdir}" install
32   install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"