1 # Maintainer: mickele <mimocciola@yahoo.com>
5 pkgdesc="Colbea is a program for the calculation of 2D structures"
6 url="http://www.driemeyer.net/colbea/"
9 depends=('wxgtk-2.6-ansi')
10 makedepends=('autoconf')
14 source=(http://www.driemeyer.net/colbea/download/noarch/stable/${pkgname}-${pkgver}.tar.gz
15 acinclude.m4 ${pkgname}.desktop)
18 cd ${srcdir}/${pkgname}-${pkgver}
19 cp ${srcdir}/acinclude.m4 ${srcdir}/${pkgname}-${pkgver}
20 sed -e "s|\$(prefix)|\$(DESTDIR)\$(prefix)|g" -i Makefile.am
21 sed -e "s|wx-config|wx-config-2.6|g" \
22 -i ${srcdir}/${pkgname}-${pkgver}/configure.in
24 ./configure --prefix=/opt \
25 --with-wx-config=wx-config-2.6 || return 1
27 make DESTDIR=${startdir}/pkg install || return 1
29 install -D -m755 $srcdir/$pkgname-$pkgver/src/editor/rc/colbea.png $pkgdir/usr/share/pixmaps/$pkgname.png || return 1
31 desktop-file-install --dir=$pkgdir/usr/share/applications \
32 $srcdir/${pkgname}.desktop || return 1
34 md5sums=('93914e176b3e1439b7f68ec96d319fc3'
35 '246535a5cd10cbd2a8fd0bb204029965'
36 '0314d010ab763362cfb1209ddca1f16d')