Date: Thursday, February 13, 2014 @ 10:45:34 Author: lfleischer Revision: 105664
upgpkg: chntpw 140201-1 Upstream update. Modified: chntpw/trunk/PKGBUILD ----------+ PKGBUILD | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-02-13 09:36:34 UTC (rev 105663) +++ PKGBUILD 2014-02-13 09:45:34 UTC (rev 105664) @@ -3,20 +3,23 @@ # Contributor: Tobias Powalowski <[email protected]> pkgname=chntpw -pkgver=110511 -pkgrel=2 -pkgdesc='Offline NT Password Editor - reset passwords in a Windows NT SAM user database file.' +pkgver=140201 +pkgrel=1 +pkgdesc='Offline NT Password Editor - reset passwords in a Windows NT SAM user database file' arch=('i686' 'x86_64') url='http://pogostick.net/~pnh/ntpasswd/' license=('GPL' 'LGPL') makedepends=('openssl') source=("http://pogostick.net/~pnh/ntpasswd/${pkgname}-source-${pkgver}.zip") -md5sums=('a3fb358d1adec589cd6bc8dedf68896c') +md5sums=('d60bc657206b07ad84d926649d6417dc') +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + sed -i 's/^CFLAGS= \(.*\) -m32 $/CFLAGS= \1/' Makefile +} + build() { cd "${srcdir}/${pkgname}-${pkgver}" - - [ "$CARCH" = "x86_64" ] && sed -i "s|CFLAGS= -DUSEOPENSSL -g -I. -I\$(OSSLINC) -Wall -m32|CFLAGS= -DUSEOPENSSL -g -I. -I\$(OSSLINC) -Wall|" Makefile make }
