aboutsummaryrefslogtreecommitdiffstats
path: root/main/sessreg/APKBUILD
blob: 17534e0864e7865dfc7b60b3d23e237ae10d8f60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=sessreg
pkgver=1.1.0
pkgrel=1
pkgdesc="manage utmp/wtmp entries for non-init clients"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
subpackages="$pkgname-doc"
depends=
makedepends="xproto bsd-compat-headers linux-headers"
source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar.bz2
	missing_path_wtmpx.patch"

builddir="$srcdir/$pkgname-$pkgver"

build () {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="e238c89dabc566e1835e1ecb61b605b9  sessreg-1.1.0.tar.bz2
6f55bfd9eb298ffde45d4e34e3c556db  missing_path_wtmpx.patch"
sha256sums="551177657835e0902b5eee7b19713035beaa1581bbd3c6506baa553e751e017c  sessreg-1.1.0.tar.bz2
67599b812be3faa2b3b15f2d6352930b34a26df2f30df3f1da4c96018da16fb9  missing_path_wtmpx.patch"
sha512sums="5d9010874696bbc53a6271f30c089690cb341ede992f6be0914474a03ff4468e01e6a4ce7e6a437b96751fdf0ccced52b374126e5caeac6747edecd049841116  sessreg-1.1.0.tar.bz2
57a7dea5f0f9d8c3f54aa3aeb98f6fa8cd44e9d7397c81ad40e973ad3a548b7137a986bda6367df5d867d2b1e6d8eacdd182fcf920ea9d1e8c70cc64f40651df  missing_path_wtmpx.patch"