PKGBUILDs/extra/imake/PKGBUILD

63 lines
2.7 KiB
Bash
Raw Normal View History

2015-07-11 20:01:27 +00:00
# Maintainer: Jan de Groot <jgc@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - patch for AArch64
pkgname=imake
2019-03-17 16:20:27 +00:00
pkgver=1.0.8
pkgrel=1
2015-07-11 20:01:27 +00:00
pkgdesc="X.Org imake program and related utilities"
2019-03-17 16:20:27 +00:00
arch=('x86_64')
2017-08-12 00:37:55 +00:00
url="https://xorg.freedesktop.org/"
2015-07-11 20:01:27 +00:00
license=('custom')
depends=('glibc')
makedepends=('pkgconfig' 'xproto' 'perl' 'xorg-util-macros' 'xorg-font-util')
optdepends=('perl: for mkhtmlindex')
2017-08-12 00:37:55 +00:00
validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') #Alan Coopersmith <alan.coopersmith@oracle.com>
source=(https://xorg.freedesktop.org/releases/individual/util/imake-${pkgver}.tar.bz2
https://xorg.freedesktop.org/releases/individual/util/gccmakedep-1.0.3.tar.bz2
https://xorg.freedesktop.org/releases/individual/util/lndir-1.0.3.tar.bz2
https://xorg.freedesktop.org/releases/individual/util/makedepend-1.0.5.tar.bz2
https://xorg.freedesktop.org/releases/individual/util/xorg-cf-files-1.0.6.tar.bz2{,.sig}
2015-07-11 20:01:27 +00:00
linuxconfig.patch
aarch64.patch
LICENSE)
2019-03-17 16:20:27 +00:00
sha512sums=('5352b0148664506c8eb7ba80f95fced146d150398673547ba0b2c7c966a382bc21de43dfb8e0d74e38a0a563f16ddbec48bf8c8e6daa1a0899a95403579d7728'
'563b2897770a4df2792ea3eae8183a1f9e78192b7efc9c8296ee68d1cba6e72fa962a88e3251bb780df776e2aa7e80d74d5096675c61526c232aefa4f9e6a5fc'
'c9f03c825c627935abe399bf8292bbf69304cb9e9d65a4c860b49e32e2ed4dde25bf658a5ab2116cd215381d0a52f464a8a53469c27adddbd9fa2bfd135a7289'
'e28d71c3ce4f74ca6479771fcdd123c19ab18e3f2aa690a7798237f21f13fca4c4d66d7b7b1d708c2c214b8e17f8fe37e6cf5b75a4d2b88514c50addea2600cb'
'1749a5fbcda2c15c300028abce79a3304cfb10f215bf98cf30558144eb64f9fa06a69203159f44405224ed567ac5bc0ff1222e3656367f69acc99f44871424fa'
2017-08-12 00:37:55 +00:00
'SKIP'
2019-03-17 16:20:27 +00:00
'e2a42d60ca39a14ac7944af04eb76dfe9b194cfad8d853730a29aa43f93f2b4acce8d6e8d7a36901b201822c8c5879093fadb6e63f448f5915878909e3797735'
'6bfb9bf7802436ba12b071b848dcd0d7bb5cb926a155a0e5538aed638b4f97ae2abb1e9d551fce7bd3b9df8c3127185d8ac538c36c3d9a87517d5094dc9e8554'
'1ded8ef51405e3b0144a633b612270cb1c71e7365852653284a587972f68a390252ca73350517bac621006cab6410745974a960d9fd0d3f76dcb9face69aada9')
2015-07-11 20:01:27 +00:00
prepare() {
2017-08-12 00:37:55 +00:00
cd xorg-cf-files-1.0.6
2015-07-11 20:01:27 +00:00
patch -p1 -i ../linuxconfig.patch
patch -p2 -i ../aarch64.patch
}
build() {
for i in *; do
if [ -d "${i}" ]; then
pushd "${i}"
autoreconf -fi
./configure --prefix=/usr --mandir=/usr/share/man
make
popd
fi
done
}
package() {
for i in *; do
if [ -d "${i}" ]; then
pushd "${i}"
make DESTDIR="${pkgdir}" install
popd
fi
done
install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}