blob: b186a6cfdc071230026198963bcddd8355837111 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# $Id: PKGBUILD 70184 2012-05-01 12:30:54Z andrea $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Contributor: Jason Chu <jason@archlinux.org>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=steghide
pkgver=0.5.1
pkgrel=6
pkgdesc='Embeds a message in a file by replacing some of the least significant bits'
arch=('i686' 'x86_64')
url='http://steghide.sourceforge.net'
license=('GPL')
depends=('libmcrypt' 'gcc-libs' 'mhash' 'libjpeg' 'zlib')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz"
'buildsystem.patch'
'gcc-4.2.patch'
"${pkgname}-climits.patch")
md5sums=('5be490e24807d921045780fd8cc446b3'
'14f5e054d71c91262bb1140288043df8'
'fd861dc5a0a392c6c94a61e85ad74f29'
'897ce18edd008293a3328bc3f88775b3')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p1 < ../buildsystem.patch
# this patch courtesy gentoo bug tracker #178134
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
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
|