mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 10:14:37 +08:00
56 lines
1.6 KiB
Bash
56 lines
1.6 KiB
Bash
# Part of X.org group
|
|
# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
|
# Contributor from Arch: Jan de Groot <jgc@archlinux.org>
|
|
|
|
pkgname=imake
|
|
pkgver=1.0.6
|
|
pkgrel=1
|
|
pkgdesc="X.Org imake program and related utilities"
|
|
arch=(x86_64)
|
|
url="http://xorg.freedesktop.org/"
|
|
license=('custom')
|
|
depends=(glibc)
|
|
makedepends=(pkg-config 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.5.tar.bz2
|
|
http://xorg.freedesktop.org/releases/individual/util/xorg-cf-files-1.0.5.tar.bz2
|
|
linuxconfig.patch
|
|
LICENSE)
|
|
md5sums=('d5058b1317a85bedc1dc40c7e85c8d26'
|
|
'b533c0771dbbaf9b041ff35bb941d3a2'
|
|
'a47bcd6cecda1a6ebd3395926ea4f53a'
|
|
'0475638eb40a3920d0d3f14482c924a4'
|
|
'4a9cd7fc995ebf8f3cdad5395f9d8eba'
|
|
'b3385d8efbbe7c7fc50ed3a96ce37a16'
|
|
'f5767133ef7a98a0bfa15139e0e3d32e')
|
|
|
|
build() {
|
|
cd ${srcdir}/xorg-cf-files-1.0.5
|
|
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"
|
|
}
|
|
|