updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / bibblelite / PKGBUILD
blobefbbc1999403bb45c57bec6bbf5ab2476ad864f3
1 # Maintainer: Mymaud <mymaud@gmail.com>
3 pkgname=bibblelite
4 _pkgname=bibble5
5 pkgver=5.2.3
6 _pkgver=5.2-3
7 pkgrel=1
8 pkgdesc="Professional Workflow and RAW Conversion"
9 arch=('i686' 'x86_64')
10 license=('custom')
12 depends=('rpmextract' 'qt' 'libxdamage' 'glib2' 'pcre' 'libpng12' 'libgl')
13 [ "$CARCH" = "x86_64" ] && depends=('rpmextract' 'lib32-qt' 'lib32-libxdamage' 'lib32-glib2' 'lib32-pcre' 'lib32-libpng12' 'lib32-libgl' 'lib32-mesa')
15 conflicts=('bibblepro' 'bibble5pro' 'bibble5pro-pv')
16 source=("http://edge.bibblelabs.com/523-20111213/${_pkgname}-${_pkgver}.i386.rpm" \
17         "LICENSE")
18 url="http://www.bibblelabs.com"
19 md5sums=('af3607d6caaab74b2f874b7d29410a1b'
20          '6d94c13f40223b03d72f5ef682643525')
22 build() {
23         install -d ${startdir}/pkg/usr/share/licenses/${pkgname}
24         install -D -m644 ${startdir}/LICENSE ${startdir}/pkg/usr/share/licenses/${pkgname}/
26         rpmextract.sh ${_pkgname}-${_pkgver}.i386.rpm
28         mv  ${srcdir}/opt ${pkgdir}/
29         mv  ${srcdir}/usr/bin ${pkgdir}/usr/
30         mv  ${srcdir}/usr/share/{applications,pixmaps} ${pkgdir}/usr/share/
31         }