# Tanım: DNS tarayıcı
# URL: http://ha.ckers.org/fierce/
# Paketçi: yakar
# Gerekler: perl-net-dns
# Grup: güvenlik

isim=fierce
surum=0.9.9
devir=2
kaynak=()

derle() {
	git_indir https://github.com/yakar/fierce.git $isim 
	cd $SRC/$isim

	# Conform to our install location.
	sed -i 's|hosts\.txt|/etc/fierce/hosts.txt|' "fierce.pl"

	install -D -m755 fierce.pl "$PKG"/usr/bin/fierce
	install -D -m644 hosts.txt "$PKG"/etc/fierce/hosts.txt
  
  	# desktop
	mkdir -p "$PKG/usr/share/applications/"
	cat > $PKG/usr/share/applications/$isim.desktop << BASLA
[Desktop Entry]
Name=Fierce
Exec=sh -c "fierce;${SHELL:-bash}"
Terminal=true
Icon=fierce
Type=Application
Categories=Network;X-Komutan;
Version=1.0
BASLA
}
