Date: Monday, February 8, 2016 @ 01:05:39 Author: foutrelis Revision: 160597
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: chntpw/repos/community-staging-i686/ chntpw/repos/community-staging-i686/PKGBUILD (from rev 160595, chntpw/trunk/PKGBUILD) chntpw/repos/community-staging-x86_64/ chntpw/repos/community-staging-x86_64/PKGBUILD (from rev 160595, chntpw/trunk/PKGBUILD) -----------------------------------+ community-staging-i686/PKGBUILD | 37 ++++++++++++++++++++++++++++++++++++ community-staging-x86_64/PKGBUILD | 37 ++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) Copied: chntpw/repos/community-staging-i686/PKGBUILD (from rev 160595, chntpw/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2016-02-08 00:05:39 UTC (rev 160597) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> +# Contributor: Tobias Powalowski <tp...@archlinux.org> + +pkgname=chntpw +pkgver=140201 +pkgrel=2 +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=('d60bc657206b07ad84d926649d6417dc') + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + sed -i 's/^CFLAGS= \(.*\) -m32 $/CFLAGS= \1/' Makefile +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + # install binaries, don't install static binaries! + install -Dm0755 "${srcdir}/${pkgname}-${pkgver}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}" + install -Dm0755 "${srcdir}/${pkgname}-${pkgver}/reged" "${pkgdir}/usr/bin/reged" + install -Dm0755 "${srcdir}/${pkgname}-${pkgver}/cpnt" "${pkgdir}/usr/bin/cpnt" + + for _f in *.txt; do + install -Dm0644 "${_f}" "${pkgdir}/usr/share/doc/${pkgname}/${_f}" + done +} Copied: chntpw/repos/community-staging-x86_64/PKGBUILD (from rev 160595, chntpw/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2016-02-08 00:05:39 UTC (rev 160597) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> +# Contributor: Tobias Powalowski <tp...@archlinux.org> + +pkgname=chntpw +pkgver=140201 +pkgrel=2 +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=('d60bc657206b07ad84d926649d6417dc') + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + sed -i 's/^CFLAGS= \(.*\) -m32 $/CFLAGS= \1/' Makefile +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + # install binaries, don't install static binaries! + install -Dm0755 "${srcdir}/${pkgname}-${pkgver}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}" + install -Dm0755 "${srcdir}/${pkgname}-${pkgver}/reged" "${pkgdir}/usr/bin/reged" + install -Dm0755 "${srcdir}/${pkgname}-${pkgver}/cpnt" "${pkgdir}/usr/bin/cpnt" + + for _f in *.txt; do + install -Dm0644 "${_f}" "${pkgdir}/usr/share/doc/${pkgname}/${_f}" + done +}