# Compiling Time: 0.01 SBU
# Maintainer: crazy <crazy@frugalware.org>

pkgname=unifdef
pkgver=2.11
pkgrel=1
pkgdesc="Unifdef is useful for removing #ifdef'ed lines from a file."
url="http://dotat.at/prog/unifdef/"
depends=('glibc')
groups=('apps-extra')
archs=('i686' 'x86_64')
up2date="Flasttar http://dotat.at/prog/unifdef/"
source=(http://dotat.at/prog/unifdef/$pkgname-$pkgver.tar.xz)
sha1sums=('4669a571297700d2b8cefdb28b4a95132d43a665')

build()
{
	Fcd
	Fsed '${HOME}' '/usr'  Makefile

	if [ "$CARCH" == "x86_64" ]; then
		CFLAGS+=" -fPIC"
	fi
	Fbuild
}

# optimization OK
