# # Chakra Packages for Chakra, part of chakra-project.org # # maintainer (i686): Phil Miller # maintainer (x86_64): Manuel Tortosa # Contributor: cruznick pkgname=buc pkgver=0.5.2 pkgrel=1 pkgdesc="BUC is the program which transforms common bash script in GUI applications written in QT" arch=('i686' 'x86_64') url="http://buc.billeragroup.net" license=('GPL') depends=('libpng' 'qt') categories=('utils') source=(http://buc.intilinux.com/download/$pkgname-${pkgver}_src_full.tar.gz 'gcc-fixes.patch' 'path-fixes.patch') md5sums=('0e35e0bf8a447170428ff0e570629813' '3f33e7e4f143305a8d55b97241254384' # gcc-fixes.patch '1ad6304b7264063650b860ac4a4f2563') # path-fixes.patch build() { cd "$srcdir/zip/" # removing unnecesary stuff rm -v bucd/usr/local/buc/libQtCore.so.4 rm -v bucd/usr/local/buc/libQtGui.so.4 rm -v bucd/usr/local/buc/buc # patch to facilitate compilation patch -Np1 -i ${srcdir}/gcc-fixes.patch # patch to fix paths (usr/local to usr/share) patch -Np1 -i ${srcdir}/path-fixes.patch qmake make # create dirs and move things to right places mkdir -p $pkgdir/usr/bin mkdir -p $pkgdir/usr/share/buc cp -Rv bucd/usr/share/* $pkgdir/usr/share cp -Rv bucd/usr/local/buc/ $pkgdir/usr/share cp -Rv bucd/usr/local/bin/ $pkgdir/usr/ cp -Rv buc $pkgdir/usr/share/buc/ }