summaryrefslogtreecommitdiff
path: root/community/steghide
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-04 23:14:51 +0000
committerroot <root@rshg054.dnsready.net>2011-11-04 23:14:51 +0000
commit3026bb55941e3b04b56f5fb41b88941c6c2ce0cd (patch)
tree576b183074d925e58c2e37ae2b641e712bceacb1 /community/steghide
parentb625511a28fd8401f524474b5339e75328595150 (diff)
Fri Nov 4 23:14:51 UTC 2011
Diffstat (limited to 'community/steghide')
-rw-r--r--community/steghide/PKGBUILD40
1 files changed, 26 insertions, 14 deletions
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 <archlinux at cryptocrack dot de>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
-# Maintainer: Jason Chu <jason@archlinux.org>
+# Contributor: Jason Chu <jason@archlinux.org>
+# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
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
}