Skip to content

Commit

Permalink
upgpkg: chemtool 1.6.13-1
Browse files Browse the repository at this point in the history
bump to latest version

git-svn-id: file:///srv/repos/svn-packages/svn@149522 eb2447ed-0c53-47e4-bac8-5bc4a241df78
  • Loading branch information
tpowa committed Feb 8, 2012
1 parent ac348d1 commit e5e5dee
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 5 deletions.
15 changes: 10 additions & 5 deletions chemtool/trunk/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,28 @@
#Maintainer: Tobias Powalowski <[email protected]>

pkgname=chemtool
pkgver=1.6.12
pkgrel=3
pkgver=1.6.13
pkgrel=1
pkgdesc="A small program for drawing chemical structures"
arch=(i686 x86_64)
license=('GPL2')
url="http://ruby.chemie.uni-freiburg.de/~martin/chemtool/chemtool.html"
depends=('gtk2')
depends=('gtk2' 'desktop-file-utils')
options=(!libtool)
source=(http://ruby.chemie.uni-freiburg.de/~martin/${pkgname}/${pkgname}-${pkgver}.tar.gz chemtool.desktop)
install=chemtool.install

build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --mandir=/usr/share/man
make || return 1
make
}

package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir}/ install
install -D -m644 gnome/chemtool.png ${pkgdir}/usr/share/pixmaps/chemtool.png
install -D -m644 ${srcdir}/chemtool.desktop ${pkgdir}/usr/share/applications/chemtool.desktop
}
md5sums=('f9e0633cbda09fcfe5a4ea4c56bcd460'
md5sums=('d263b8cf097134e36c5e929e7e77d668'
'8cbb6f7021bd5aaa6f6a31fc4d95a06e')
11 changes: 11 additions & 0 deletions chemtool/trunk/chemtool.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
post_install() {
update-desktop-database -q
}

post_upgrade() {
post_install
}

post_remove() {
post_install
}

0 comments on commit e5e5dee

Please sign in to comment.