summaryrefslogtreecommitdiff
path: root/user/xsm/APKBUILD
blob: f3e42cd18dafd59bfac133c70bf4c610876a091b (plain) (blame)
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
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xsm
pkgver=1.0.4
pkgrel=0
pkgdesc="Session manager for X11"
url="https://www.X.Org/"
arch="all"
license="X11"
depends="iceauth smproxy twm"
makedepends="libice-dev libsm-dev libxaw-dev libxt-dev"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/app/xsm-$pkgver.tar.bz2"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="d4e4da7c309a4eae126d2b58a13684f4dbc06b09f76dde9c89c707375df2843614f3d83bc44f9cd02f239200db3397abd86796dca0dbafc69f60482b0af5a176  xsm-1.0.4.tar.bz2"