[arch-commits] Commit in chemtool/trunk (PKGBUILD)

Daniel Griffiths dgriffiths at archlinux.org
Tue Apr 20 03:46:15 UTC 2010


    Date: Monday, April 19, 2010 @ 23:46:15
  Author: dgriffiths
Revision: 78228

upgpkg: chemtool 1.6.12-3 Fixed man page issue

Modified:
  chemtool/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-04-20 03:43:10 UTC (rev 78227)
+++ PKGBUILD	2010-04-20 03:46:15 UTC (rev 78228)
@@ -3,22 +3,22 @@
 
 pkgname=chemtool
 pkgver=1.6.12
-pkgrel=2
+pkgrel=3
 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')
 options=(!libtool)
-source=(http://ruby.chemie.uni-freiburg.de/~martin/$pkgname/$pkgname-$pkgver.tar.gz chemtool.desktop)
+source=(http://ruby.chemie.uni-freiburg.de/~martin/${pkgname}/${pkgname}-${pkgver}.tar.gz chemtool.desktop)
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
+  cd ${srcdir}/${pkgname}-${pkgver}
   ./configure --prefix=/usr --mandir=/usr/share/man
  make || return 1
- make DESTDIR=$startdir/pkg/ install
- install -D -m644 gnome/chemtool.png $startdir/pkg/usr/share/pixmaps/chemtool.png
- install -D -m644 $startdir/src/chemtool.desktop $startdir/pkg/usr/share/applications/chemtool.desktop
+ 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'
          '8cbb6f7021bd5aaa6f6a31fc4d95a06e')




More information about the arch-commits mailing list