archrelease: copy trunk to extra-x86_64
[arch-packages.git] / imake / repos / extra-x86_64 / PKGBUILD
blobf853efcd86712950f9500435e92d0237aab0b01d
1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
4 pkgname=imake
5 pkgver=1.0.9
6 pkgrel=1
7 pkgdesc="X.Org imake program and related utilities"
8 arch=('x86_64')
9 url="https://xorg.freedesktop.org/"
10 license=('custom')
11 depends=('glibc')
12 makedepends=('pkgconfig' 'xorgproto' 'perl' 'xorg-util-macros' 'xorg-font-util')
13 optdepends=('perl: for mkhtmlindex')
14 options=('debug')
15 source=(https://xorg.freedesktop.org/archive/individual/util/imake-${pkgver}.tar.xz{,.sig}
16         https://xorg.freedesktop.org/releases/individual/util/gccmakedep-1.0.3.tar.bz2
17         https://xorg.freedesktop.org/releases/individual/util/lndir-1.0.3.tar.bz2
18         https://xorg.freedesktop.org/releases/individual/util/makedepend-1.0.6.tar.bz2
19         https://xorg.freedesktop.org/releases/individual/util/xorg-cf-files-1.0.7.tar.bz2{,.sig}
20         linuxconfig.patch
21         LICENSE)
22 sha512sums=('e7587cf80369c8f4fcc1207c13bcb74a53d838b504ac8a7f3b98fb8f5f595cc7b8e5e9fad50cadcf40cf27bd02ef4eae7fe458854bbed7bea27d474d66520644'
23             'SKIP'
24             '563b2897770a4df2792ea3eae8183a1f9e78192b7efc9c8296ee68d1cba6e72fa962a88e3251bb780df776e2aa7e80d74d5096675c61526c232aefa4f9e6a5fc'
25             'c9f03c825c627935abe399bf8292bbf69304cb9e9d65a4c860b49e32e2ed4dde25bf658a5ab2116cd215381d0a52f464a8a53469c27adddbd9fa2bfd135a7289'
26             'eb0e8ee8ab7515806d7d98a060cdcd392ec38e4225e5e05db26daa6651f185d0b764aab403edeea904d4d23211b1f7db20daeee6eafce8abe65225784ed0aa42'
27             '0dd73b9db9fc16bddc94ef23f11434be6ea2f8e0c7bc5ef3c3bfe6749e13843f88d397eed9f980bbbe9e74147172326bd3c3ccb7adedc9150302756e4b07191e'
28             'SKIP'
29             'e2a42d60ca39a14ac7944af04eb76dfe9b194cfad8d853730a29aa43f93f2b4acce8d6e8d7a36901b201822c8c5879093fadb6e63f448f5915878909e3797735'
30             '1ded8ef51405e3b0144a633b612270cb1c71e7365852653284a587972f68a390252ca73350517bac621006cab6410745974a960d9fd0d3f76dcb9face69aada9')
31 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') #Alan Coopersmith <alan.coopersmith@oracle.com>
33 prepare() {
34   cd xorg-cf-files-1.0.7
35   patch -p1 -i ../linuxconfig.patch
38 build() {
39   for i in *; do
40     if [ -d "${i}" ]; then
41       pushd "${i}"
42       autoreconf -fi
43       ./configure --prefix=/usr --mandir=/usr/share/man
44       make
45       popd
46     fi
47   done
50 package() {
51   for i in *; do
52     if [ -d "${i}" ]; then
53       pushd "${i}"
54       make DESTDIR="${pkgdir}" install
55       popd
56     fi
57   done
58   install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"