From 3026bb55941e3b04b56f5fb41b88941c6c2ce0cd Mon Sep 17 00:00:00 2001 From: root Date: Fri, 4 Nov 2011 23:14:51 +0000 Subject: Fri Nov 4 23:14:51 UTC 2011 --- community/steghide/PKGBUILD | 40 ++++++++++++++++++++++++++-------------- 1 file changed, 26 insertions(+), 14 deletions(-) (limited to 'community/steghide/PKGBUILD') diff --git a/community/steghide/PKGBUILD b/community/steghide/PKGBUILD index 04c5a0f54..4eb872e74 100644 --- a/community/steghide/PKGBUILD +++ b/community/steghide/PKGBUILD @@ -1,31 +1,43 @@ -# $Id: PKGBUILD 9308 2010-01-25 00:27:50Z foutrelis $ +# Maintainer: Lukas Fleischer # Contributor: Tom Newsom -# Maintainer: Jason Chu +# Contributor: Jason Chu +# Contributor: Daniel J Griffiths pkgname=steghide pkgver=0.5.1 -pkgrel=4 -pkgdesc="Steghide is a steganography program which embeds a secret message \ - in a cover file by replacing some of the least significant bits" +pkgrel=5 +pkgdesc='Embeds a message in a file by replacing some of the least significant bits.' arch=('i686' 'x86_64') -url="http://steghide.sourceforge.net" +url='http://steghide.sourceforge.net' license=('GPL') depends=('libmcrypt' 'mhash' 'gcc' 'libjpeg' 'zlib' 'libtool') -source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz \ - buildsystem.patch gcc-4.2.patch $pkgname-climits.patch) +source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz" + 'buildsystem.patch' + 'gcc-4.2.patch' + "${pkgname}-climits.patch") md5sums=('5be490e24807d921045780fd8cc446b3' '14f5e054d71c91262bb1140288043df8' 'fd861dc5a0a392c6c94a61e85ad74f29' '897ce18edd008293a3328bc3f88775b3') build() { - cd $startdir/src/$pkgname-$pkgver - patch -p1 < ../buildsystem.patch || return 1 + cd "${srcdir}/${pkgname}-${pkgver}" + + patch -p1 < ../buildsystem.patch + # this patch courtesy gentoo bug tracker #178134 - patch -Np1 -i ../gcc-4.2.patch || return 1 - patch -Np1 -i ../steghide-climits.patch || return 1 + patch -Np1 -i ../gcc-4.2.patch + patch -Np1 -i ../steghide-climits.patch + + # touch files needed by GNU Autotools + touch NEWS AUTHORS ChangeLog + autoreconf -i ./configure --prefix=/usr - make || return 1 - make DESTDIR=$startdir/pkg install || return 1 + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install } -- cgit v1.2.3-54-g00ecf