forked from archlinux/svntogit-packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
Showing
2 changed files
with
21 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |