aboutsummaryrefslogtreecommitdiffstats
path: root/community/xclock/APKBUILD
blob: 3388aee62ddf07b9bd4ba7f2f52f4f11745bee25 (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.8
pkgrel=0
pkgdesc="Clock for the X Window System"
url="https://www.x.org/"
arch="all"
license="MIT"
makedepends="libx11-dev libxft-dev libxrender-dev libxaw-dev
             libxkbfile-dev libxmu-dev"
subpackages="$pkgname-doc"
source="https://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="1272221ace3657505bae1b22f181e9ecbf1710900c89a860c8ceae47ae31ca5e75b6557c37dc0a881a0a24c9597b9a07f46200926feb1013f1e2e995111a7646  xclock-1.0.8.tar.bz2"