# Compiling Time: 0.01 SBU # Maintainer: kikadf # Contributor: exceed pkgname=chntpw pkgver=140201 _F_archive_name=${pkgname}-source _F_cd_path=$pkgname-$pkgver pkgrel=3 pkgdesc="Utility to (re)set the password of any user and registry editor on Windows NT/2K/XP system" url="http://pogostick.net/~pnh/ntpasswd" groups=('apps-extra') archs=('x86_64') depends=('openssl>=1.0.0') source=($url/$pkgname-source-$pkgver.zip) up2date="Flastarchive $url/editor.html .zip" sha1sums=('a28bef3fc4e333cd1d4abe40e07c3a75348bdd8d') build() { Fcd Fsed '-g' "${CFLAGS}" Makefile Fsed '-m32' '' Makefile Fmake Fexe $_F_cd_path/{chntpw,chntpw.static,reged,reged.static,cpnt} /usr/bin/ Fdoc $_F_cd_path/{regedit.txt,WinReg.txt,README.txt} } # optimization OK