summaryrefslogtreecommitdiff
path: root/user/xorg-cf-files/APKBUILD
blob: dbd076a7cbd1f71d0fbd5eb0d651d484bcadb38d (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
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=xorg-cf-files
pkgver=1.0.8
pkgrel=0
pkgdesc="Data files for the imake utility"
url="https://www.X.Org/"
arch="noarch"
options="!check"  # This package has no test suite.
license="X11"
depends=""
makedepends="util-macros"
subpackages="$pkgname-doc"
source="https://www.X.Org/releases/individual/util/${pkgname}-${pkgver}.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR="$pkgdir" install
	install -m755 -d "$pkgdir"/usr/share/licenses/$pkgname
	install -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/
}

sha512sums="cc633af889cd82346c3098df9185245c21aa9db7484343f8be9719f6e0b1fc0a9b09afb13b9b864668aa51944f2da797bbe896c807f629e89fc91506e6e63fb9  xorg-cf-files-1.0.8.tar.xz"