blob: 3b1dbccf67d201635f4f0590e2da1718a5f4a263 (
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
45
46
47
48
49
50
51
52
53
54
|
# Maintainer: Marco Pompili [ marcs (dot) pompili (at) gmail (dot) com ]
# Contributor: Lukas Fleischer <lfleischer@archlinux.org>
# 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=13
pkgdesc='Embeds a message in a file by replacing some of the least significant bits'
arch=('x86_64')
url='http://steghide.sourceforge.net'
license=('GPL-2.0-or-later')
depends=('libmcrypt' 'gcc-libs' 'mhash' 'libjpeg' 'zlib')
source=("steghide-${pkgver}.tar.gz::https://sourceforge.net/projects/steghide/files/steghide/${pkgver}/steghide-${pkgver}.tar.gz/download"
buildsystem.patch
include-climits.patch
add-hardening.patch
fix-spelling.patch
consolidated-gcc-patches.patch
correct-german.patch)
sha256sums=('78069b7cfe9d1f5348ae43f918f06f91d783c2b3ff25af021e6a312cf541b47b'
'52b050ad027dc0720e2d73ce90fcc0e8fa1a857c70b0650e0bffe1c717dd0e85'
'c1489d23a91b29d6eb74dfb167b7454957e9ae1058b0485fe053d0b7279bf728'
'd50d86ac299b2731ac25bd493eaaa0aa7bb74e2c3d3461edbd65ecd0749b6e27'
'865649cfef281277365c5b4fabed919fec83950db7ebcad9a88b698a97e3deb9'
'9e52fb5fafd56a2a81bdfbb7af54cffd9eead01de26ed0d6f0b35e98257a89ac'
'c80b922d66d068f5aa4ebc52fff5afa238be81e4c6eb72d5001d0bbce7dbbc46')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
msg2 "Applying fixes patches"
patch -p1 < ../buildsystem.patch
patch -p1 -i ../include-climits.patch
msg2 "Apply patches from Debian"
patch -Np1 -i ../add-hardening.patch
patch -Np1 -i ../fix-spelling.patch
patch -Np1 -i ../consolidated-gcc-patches.patch
patch -Np1 -i ../correct-german.patch
# touch files needed by GNU Autotools
touch NEWS AUTHORS ChangeLog
./configure --prefix=/usr --mandir=/usr/share/man
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
|