mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
chntpw in extra
This commit is contained in:
parent
fcff82eaed
commit
34819f2555
2 changed files with 32 additions and 0 deletions
31
extra/chntpw/PKGBUILD
Normal file
31
extra/chntpw/PKGBUILD
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
|
||||
|
||||
# Plugbox Changes: $CARCH = arm
|
||||
|
||||
pkgname=chntpw
|
||||
pkgver=100627
|
||||
pkgrel=1
|
||||
pkgdesc="The Offline NT Password Editor - enables you to view some information and change user passwords in a Windows NT SAM userdatabase 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=('8b046c2073f27eed728e18635ba72dd4')
|
||||
sha1sums=('4b2a7e7a406ca9ecb68c9ab4fb6012864828806d')
|
||||
|
||||
build() {
|
||||
if [ "$CARCH" = "arm" ]; then
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
sed -i "s|CFLAGS= -DUSEOPENSSL -g -I. -I\$(OSSLINC) -Wall -m32|CFLAGS= -DUSEOPENSSL -g -I. -I\$(OSSLINC) -Wall|" Makefile
|
||||
fi
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
make
|
||||
# install binaries, don't install static binaries!
|
||||
install -Dm755 ${srcdir}/${pkgname}-${pkgver}/${pkgname} ${pkgdir}/usr/bin/${pkgname}
|
||||
install -Dm755 ${srcdir}/${pkgname}-${pkgver}/reged ${pkgdir}/usr/bin/reged
|
||||
install -Dm755 ${srcdir}/${pkgname}-${pkgver}/cpnt ${pkgdir}/usr/bin/cpnt
|
||||
for doc in *.txt; do
|
||||
install -Dm644 ${doc} ${pkgdir}/usr/share/doc/${pkgname}/${doc}
|
||||
done
|
||||
}
|
1
extra/chntpw/chntpw-100627-1-arm.pkg.tar.xz
Symbolic link
1
extra/chntpw/chntpw-100627-1-arm.pkg.tar.xz
Symbolic link
|
@ -0,0 +1 @@
|
|||
/build/packages/extra/chntpw-100627-1-arm.pkg.tar.xz
|
Loading…
Reference in a new issue