aboutsummaryrefslogtreecommitdiffstats
path: root/community/xclock/APKBUILD
blob: 8a718e6c03d4435590faed847e46200756e177cf (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
# Contributor: ScrumpyJack <scrumpyjack@me.com>
# Maintainer: ScrumpyJack <scrumpyjack@me.com>
pkgname=xclock
pkgver=1.0.7
pkgrel=0
pkgdesc="Clock for the X Window System"
url="http://www.x.org"
arch="all"
license="MIT"
makedepends="libx11-dev libxft-dev libxrender-dev libxaw-dev
             libxkbfile-dev libxmu-dev"
subpackages="$pkgname-doc"
source="http://www.x.org/releases/individual/app/${pkgname}-${pkgver}.tar.bz2"

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

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--datarootdir=/usr/share
	make
}

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

sha512sums="56689bdae6c83e9e1da5c4c48cf1136ca8b4f45b177f27bc1deeb24758e2c180035b639e8df72e3ebf32dc301bceb59118309fcce2ffab54e5abe9bfa645e607  xclock-1.0.7.tar.bz2"