aboutsummaryrefslogtreecommitdiffstats
path: root/main/xset/APKBUILD
blob: fbd2764f51a167caf1c758ad390541130ac204d5 (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
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xset
pkgver=1.2.3
pkgrel=0
pkgdesc="X.Org xset application"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
subpackages="$pkgname-doc"
depends=""
makedepends="libxmu-dev libx11-dev libxext-dev"
source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar.bz2"

_builddir="$srcdir/$pkgname-$pkgver"
build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="dcd227388b57487d543cab2fd7a602d7  xset-1.2.3.tar.bz2"
sha256sums="4382f4fb29b88647e13f3b4bc29263134270747fc159cfc5f7e3af23588c8063  xset-1.2.3.tar.bz2"
sha512sums="7b2cf4b06b93aec9f6f868be3f0932a5d6e62968485f7eb742a9b775059aa2a49c9170404e0597fd41a5730c0bf321e371ee6b23bbcde3be054f768ab8d3d92a  xset-1.2.3.tar.bz2"