description="X.Org imake program and related utilities" url="https://xorg.freedesktop.org/" packager="spiky " contributors="Greg,Tnut" makedepends=(perl-extutils-pkgconfig xorg-server perl xorg-util-macros xorg-font-util) name=imake version=1.0.10 source=(https://xorg.freedesktop.org/releases/individual/util/imake-${version}.tar.xz https://xorg.freedesktop.org/releases/individual/util/gccmakedep-1.0.3.tar.bz2 https://xorg.freedesktop.org/releases/individual/util/lndir-1.0.4.tar.xz https://xorg.freedesktop.org/releases/individual/util/makedepend-1.0.8.tar.xz https://xorg.freedesktop.org/releases/individual/util/xorg-cf-files-1.0.7.tar.bz2 linuxconfig.patch) prepare () { cd xorg-cf-files-1.0.7 patch -p1 -i ../linuxconfig.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=$PKG install popd fi done }