pkgname=bluegriffon pkgver=1.8 pkgrel=1 pkgdesc='The next-generation Web Editor' url="http://bluegriffon.org/" arch=('x86_64') license=('MPL' 'GPL' 'LGPL') depends=('libpng' 'libjpeg' 'desktop-file-utils' 'libxt' 'mime-types' 'nss' 'shared-mime-info' 'gtk2') makedepends=('wget') install='bluegriffon.install' source=("http://bluegriffon.org/freshmeat/1.8/$pkgname-1.8.Ubuntu15.04.x86_64.tar.bz2" 'bluegriffon.desktop' 'bluegriffon.install') md5sums=('ae45e34a0130ef937b930d86af1528a0' 'e532ce3a2163d91b11a19176dcf2dbe1' '42d885a1665f32babc8045b2041949ea') package() { cd ${srcdir} mkdir -p ${pkgdir}/usr/{bin,lib,share/{applications,pixmaps}} cp -R bluegriffon ${pkgdir}/usr/lib/${pkgname} install -m644 ${srcdir}/${pkgname}.desktop ${pkgdir}/usr/share/applications/ install -m644 ${srcdir}/bluegriffon/chrome/icons/default/default48.png ${pkgdir}/usr/share/pixmaps/${pkgname}-icon.png ln -sf /usr/lib/bluegriffon/bluegriffon $pkgdir/usr/bin/ }