archrelease: copy trunk to community-any
[ArchLinux/community.git] / xcb-util-xrm / trunk / PKGBUILD
blob1709347bdfadbeab1e967a44579c0283d23ed7b7
1 # Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
2 # Contributor: Anatol Pomazau
3 # Contributor: Ingo Bürk <admin at airblader dot de>
5 pkgname=xcb-util-xrm
6 pkgver=1.3
7 pkgrel=2
8 pkgdesc='XCB utility functions for the X resource manager'
9 url='https://github.com/Airblader/xcb-util-xrm'
10 arch=('x86_64')
11 license=('MIT')
12 depends=('xcb-util')
13 makedepends=('xorg-util-macros' 'libx11')
14 source=(https://github.com/Airblader/xcb-util-xrm/releases/download/v${pkgver}/xcb-util-xrm-${pkgver}.tar.gz)
15 sha256sums=('0129f74c327ae65e2f4ad4002f300b4f02c9aff78c00997f1f1c5a430f922f34')
16 sha512sums=('d8a427ed6d1f1568ce58db9b89284e4fafcc7b7929c31bccf70e5ccd91f3f6cb9c87ff25c4e64d95b0c6215cfecde6c0ee2b3a18759817aea3169ba87602c5de')
18 build() {
19   cd ${pkgname}-${pkgver}
20   ./configure --prefix=/usr
21   make
24 check() {
25   cd ${pkgname}-${pkgver}
26   make check
29 package() {
30   cd ${pkgname}-${pkgver}
31   make DESTDIR="${pkgdir}" install
32   install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
35 # vim: ts=2 sw=2 et: