[arch-commits] Commit in chemtool/trunk (PKGBUILD chemtool.install)
Tobias Powalowski
tpowa at archlinux.org
Wed Feb 8 11:37:34 UTC 2012
Date: Wednesday, February 8, 2012 @ 06:37:33
Author: tpowa
Revision: 149522
upgpkg: chemtool 1.6.13-1
bump to latest version
Added:
chemtool/trunk/chemtool.install
Modified:
chemtool/trunk/PKGBUILD
------------------+
PKGBUILD | 15 ++++++++++-----
chemtool.install | 11 +++++++++++
2 files changed, 21 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-02-08 11:18:26 UTC (rev 149521)
+++ PKGBUILD 2012-02-08 11:37:33 UTC (rev 149522)
@@ -2,23 +2,28 @@
#Maintainer: Tobias Powalowski <tpowa at archlinux.org>
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')
Added: chemtool.install
===================================================================
--- chemtool.install (rev 0)
+++ chemtool.install 2012-02-08 11:37:33 UTC (rev 149522)
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list