archrelease: copy trunk to extra-x86_64
[arch-packages.git] / xorg-sessreg / repos / extra-x86_64 / PKGBUILD
blobd626a2aac639bc8ce1dcbb3964cc8b88aa492aec
1 # Maintainer: Jan de Groot <jgc@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
4 pkgname=xorg-sessreg
5 pkgver=1.1.3
6 pkgrel=1
7 pkgdesc="Register X sessions in system utmp/utmpx databases"
8 arch=(x86_64)
9 url="https://xorg.freedesktop.org/"
10 license=('custom')
11 depends=('glibc')
12 makedepends=('xorg-util-macros' 'xorgproto')
13 options=('debug')
14 groups=('xorg-apps' 'xorg')
15 source=(https://xorg.freedesktop.org/archive/individual/app/sessreg-${pkgver}.tar.xz{,.sig})
16 sha512sums=('bc1e83afc598ac5b4c6ab0861799b6c8727c123ee662c1fb9cbdd9ee926973b7a00cc62e32f6b4e462c0da3516f8b824337d9cf17587ebabd3f4753502641a60'
17             'SKIP')
18 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <alan.coopersmith@oracle.com>
19 #validpgpkeys+=('3BB639E56F861FA2E86505690FDD682D974CA72A') # "Matt Turner <mattst88@gmail.com>"
21 build() {
22   cd "sessreg-${pkgver}"
23   ./configure --prefix=/usr
24   make
27 package() {
28   cd "sessreg-${pkgver}"
29   make DESTDIR="${pkgdir}" install
30   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
31   install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"