summaryrefslogtreecommitdiff
path: root/user/mkcomposecache/APKBUILD
blob: dbd363bf04ea1b037b4b2dfc03a105b473af3ce9 (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=mkcomposecache
pkgver=1.2
pkgrel=0
pkgdesc="Utility to manipulate X11 Compose key cache files"
url="https://www.X.Org/"
arch="all"
license="MIT"
depends=""
makedepends="libx11-dev"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/app/mkcomposecache-$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="e81101dbf3324341a2aa6b12a6f1a67bf18484f69edc86e38f78f30b2e62d4d3a98d65dbd05540dfe437d739b5cdd330d1e381da87ec3fe4fe7c42fcef58aad7  mkcomposecache-1.2.tar.bz2"