summaryrefslogtreecommitdiff
path: root/community/steghide/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-07 11:24:34 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-07 11:24:34 -0300
commita607668699d0ed030ac69ed31969dfa266439e38 (patch)
tree5b3e076437e78d8624668454afc1d82750d54c8a /community/steghide/PKGBUILD
parent6b015d22b5b59eddb6e8c40989017d8492ac912c (diff)
parenta4d309341dbcd3c28ee68e818c1d5ef54114adf8 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community-testing/libraw/PKGBUILD community-testing/virtualbox-modules/PKGBUILD community-testing/virtualbox-modules/virtualbox-modules.install community-testing/virtualbox/PKGBUILD community-testing/virtualbox/vboxdrv-reference.patch community-testing/virtualbox/virtualbox.install community-testing/vtk/PKGBUILD community/audex/PKGBUILD community/critter/PKGBUILD community/egoboo/PKGBUILD community/fcgiwrap/PKGBUILD community/hping/PKGBUILD community/libesmtp/PKGBUILD community/lockdev/PKGBUILD community/pidgin-musictracker/PKGBUILD community/pidgin-otr/PKGBUILD community/pylibacl/PKGBUILD community/pypanel/PKGBUILD community/rdiff-backup/PKGBUILD community/steghide/PKGBUILD community/tabbed/PKGBUILD community/transset-df/PKGBUILD community/wyrd/PKGBUILD core/openldap/PKGBUILD core/sqlite3/PKGBUILD extra/fltk/PKGBUILD extra/thunar/PKGBUILD extra/xfce4-clipman-plugin/PKGBUILD multilib/lib32-acl/PKGBUILD multilib/lib32-alsa-oss/PKGBUILD multilib/lib32-glib2/PKGBUILD multilib/lib32-libffi/PKGBUILD multilib/lib32-libmng/PKGBUILD multilib/lib32-libpciaccess/PKGBUILD multilib/lib32-libusb-compat/PKGBUILD multilib/lib32-libusb/PKGBUILD multilib/wine/PKGBUILD
Diffstat (limited to 'community/steghide/PKGBUILD')
-rw-r--r--community/steghide/PKGBUILD40
1 files changed, 26 insertions, 14 deletions
diff --git a/community/steghide/PKGBUILD b/community/steghide/PKGBUILD
index e273c463a..26e76cdbd 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' 'mips64el')
-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
}