blob: 74a75275a914d729f6b23109bd42eec2be597fcf (
plain)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# $Id: PKGBUILD 152805 2012-03-09 17:06:42Z andyrtr $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=imake
pkgver=1.0.5
pkgrel=1
pkgdesc="X.Org imake program and related utilities"
arch=('i686' 'x86_64')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('glibc')
makedepends=('pkgconfig' 'xproto' 'perl')
optdepends=('perl: for mkhtmlindex')
source=("http://xorg.freedesktop.org/releases/individual/util/imake-${pkgver}.tar.bz2"
'http://xorg.freedesktop.org/releases/individual/util/gccmakedep-1.0.2.tar.bz2'
'http://xorg.freedesktop.org/releases/individual/util/lndir-1.0.3.tar.bz2'
'http://xorg.freedesktop.org/releases/individual/util/makedepend-1.0.4.tar.bz2'
'http://xorg.freedesktop.org/releases/individual/util/xorg-cf-files-1.0.4.tar.bz2'
'linuxconfig.patch'
'LICENSE')
sha1sums=('1fd3dca267d125ad86583d7f9663b6ff532cddd1'
'a3d971a507a460233afd8ed46e9f06135fed634d'
'fc71a6ff2cc0a1065cfb608796ffd6b4f0ce76fe'
'1f0f8aea1526c6c022f2cf16f7a6c67118c68336'
'c58b7252df481572ec1ccd77b9f1ab561ed89e45'
'72f2d4cc4d4cc5f85ba6982718ae1bbb7e56e0d0'
'c5ecffb25ad079ba3858e3aec047d046df603a89')
build() {
cd ${srcdir}/xorg-cf-files-1.0.4
patch -p1 -i "${srcdir}/linuxconfig.patch"
cd "${srcdir}"
for i in *; do
if [ -d "${i}" ]; then
pushd "${i}"
./configure --prefix=/usr --mandir=/usr/share/man
make
popd
fi
done
}
package() {
cd "${srcdir}"
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"
}
|