summaryrefslogtreecommitdiff
path: root/user/xclock/APKBUILD
blob: f8b9e4a2299c99bbf33049ed428c023f822e2be6 (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
38
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xclock
pkgver=1.0.7
pkgrel=0
pkgdesc="Clock applet for X11"
url="https://www.X.Org/"
arch="all"
license="X11"
depends=""
makedepends="libx11-dev libxaw-dev libxkbfile-dev libxft-dev libxmu-dev
	libxrender-dev util-macros xorgproto-dev"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/app/xclock-$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="56689bdae6c83e9e1da5c4c48cf1136ca8b4f45b177f27bc1deeb24758e2c180035b639e8df72e3ebf32dc301bceb59118309fcce2ffab54e5abe9bfa645e607  xclock-1.0.7.tar.bz2"