diff options
author | root <root@rshg054.dnsready.net> | 2012-02-07 23:15:14 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-07 23:15:14 +0000 |
commit | 0dee03071a0643c3ee5820afa3c694dcef71d385 (patch) | |
tree | 2aa6cbee930040086600726e496a2bd87ec41ba8 /community/beye/PKGBUILD | |
parent | 1fa6edfba8d1e31ca1c0d59e8202cd3c62ccf393 (diff) |
Tue Feb 7 23:15:14 UTC 2012
Diffstat (limited to 'community/beye/PKGBUILD')
-rw-r--r-- | community/beye/PKGBUILD | 39 |
1 files changed, 29 insertions, 10 deletions
diff --git a/community/beye/PKGBUILD b/community/beye/PKGBUILD index 80ec17860..2d4de199d 100644 --- a/community/beye/PKGBUILD +++ b/community/beye/PKGBUILD @@ -1,29 +1,48 @@ -# $Id: PKGBUILD 58672 2011-11-17 13:41:21Z spupykin $ +# $Id: PKGBUILD 63902 2012-02-06 17:16:05Z giovanni $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=beye pkgver=6.1.0 _lver=610 -pkgrel=2 -pkgdesc="Binary viewer" -arch=(i686 x86_64) +pkgrel=4 +pkgdesc="A portable viewer of binary files, hexadecimal and disassembler modes" +arch=('i686' 'x86_64') license=('GPL') depends=('slang' 'gpm') +makedepends=('libx11') replaces=('biew') url="http://beye.sourceforge.net/" -options=(zipman) -source=(http://downloads.sourceforge.net/project/beye/biew/$pkgver/biew-${_lver}-src.tar.bz2) -md5sums=('1b6477defaa61b8ca0f2ae1254978e94') +source=("http://downloads.sourceforge.net/project/beye/biew/$pkgver/biew-${_lver}-src.tar.bz2" + 'biew-610-fix_localedep-1.patch' + 'biew-610-portable_configure-1.patch' + 'biew-610-setup_window-1.patch') +md5sums=('1b6477defaa61b8ca0f2ae1254978e94' + 'f2d510cbeffadc4cc20e4bc4e7a08014' + '32e8bc2673db6566720c1ec6f9512fd6' + '93d7e300bd5fb85952891f220b12250a') build() { cd $srcdir/biew-${_lver} - CFLAGS="$CFLAGS -mmmx -msse" ./configure --prefix=/usr - make + + patch -Np1 -i "${srcdir}/biew-610-fix_localedep-1.patch" + patch -Np1 -i "${srcdir}/biew-610-portable_configure-1.patch" + + # Patch fixing a crash if MainWindow is not yet set + patch -Np1 -i "${srcdir}/biew-610-setup_window-1.patch" + + sed -i -e "s:lib32:lib:g" configure + export CFLAGS="$CFLAGS -mmmx -msse" + ./configure --prefix=/usr + + # Fix man pages path + sed -i -e 's^man/man1/biew.1^share/man/man1/biew.1^' makefile + + make LDFLAGS="${LDFLAGS}" } package() { cd $srcdir/biew-${_lver} + make DESTDIR=$pkgdir install - mv $pkgdir/usr/man $pkgdir/usr/share/ } |