updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / lfhex / PKGBUILD
blob979854ba02aea8eee1cf09e1f6e9d938d2d3a09c
1 # $Id: PKGBUILD 48231 2009-08-20 17:00:49Z tpowa $
2 # Maintainer : zlbgps<zlbgps@gmail.com>
4 pkgname=lfhex
5 pkgver=0.42
6 #_kernver='2.6.30-ARCH'
7 pkgrel=0
8 pkgdesc="A fast, efficient hex-editor with support for large files and comparing binary files"
10 arch=('i686' 'x86_64')
11 [ "$CARCH" = "i686"   ] && ARCH=x86
12 [ "$CARCH" = "x86_64" ] && ARCH=x86_64
14 url="http://stoopidsimple.com/lfhex"
16 depends=("libxt" "qt"  "flex" "bison")
18 license=('GPL-2')
19 source=("http://stoopidsimple.com/files/${pkgname}-${pkgver}.tar.gz")
20 md5sums=("419ddac5a9e88beee872f53360193028")
22 build() {
23     cd "${srcdir}/${pkgname}-${pkgver}/src"
24     echo "${srcdir}/${pkgname}-${pkgver}/src"
25     qmake
26     make || return 1
27     #make DESTDIR="${pkgdir}" install || return 1
28     install -D -m755 ${pkgname} ${pkgdir}/usr/bin/${pkgname}
29     install -d -m644 ${pkgdir}/usr/share/${pkgname}/
30     install -D -m644 ../README ${pkgdir}/usr/share/${pkgname}/