1 # Contributor: Emanuele Rossi newdna1510@yahoo.it
2 # Contributor: Odites odites@gmal.com
3 # Contributor: cruznick <cruznick@archlinux.us>
8 pkgdesc="BUC is the program which transforms common bash script in GUI applications written in QT"
10 url="http://buc.billeragroup.net"
14 depends=('libpng' 'qt')
15 source=(http://buc.intilinux.com/download/$pkgname-${pkgver}_src_full.tar.gz 'gcc-fixes.patch' 'path-fixes.patch')
16 md5sums=('0e35e0bf8a447170428ff0e570629813'
17 '3f33e7e4f143305a8d55b97241254384' # gcc-fixes.patch
18 '88cfeca6c14a3eb4b6dfdd026aaf3357') # path-fixes.patch
22 # removing unnecesary stuff
23 rm -v bucd/usr/local/buc/libQtCore.so.4
24 rm -v bucd/usr/local/buc/libQtGui.so.4
25 rm -v bucd/usr/local/buc/buc
26 # patch to facilitate compilation
27 patch -Np1 -i ${srcdir}/gcc-fixes.patch
28 # patch to fix paths (usr/local to usr/share)
29 patch -Np1 -i ${srcdir}/path-fixes.patch
32 # create dirs and move things to right places
33 mkdir -p $pkgdir/usr/bin
34 mkdir -p $pkgdir/usr/share/buc
35 cp -Rv bucd/usr/share/* $pkgdir/usr/share
36 cp -Rv bucd/usr/local/buc/ $pkgdir/usr/share
37 cp -Rv bucd/usr/local/bin/ $pkgdir/usr/
38 cp -Rv buc $pkgdir/usr/share/buc/