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