[arch-commits] CVS update of extra/science/muscle (LICENSE PKGBUILD)

Eric Belanger eric at archlinux.org
Tue Aug 7 02:20:01 EDT 2007


    Date: Tuesday, August 7, 2007 @ 02:20:01
  Author: eric
    Path: /home/cvs-extra/extra/science/muscle

   Added: LICENSE (1.1)
Modified: PKGBUILD (1.3 -> 1.4)

upgpkg: muscle 3.60-1
initial port to x86_64, added license


----------+
 LICENSE  |   10 ++++++++++
 PKGBUILD |   18 +++++++++++++-----
 2 files changed, 23 insertions(+), 5 deletions(-)


Index: extra/science/muscle/LICENSE
diff -u /dev/null extra/science/muscle/LICENSE:1.1
--- /dev/null	Tue Aug  7 02:20:00 2007
+++ extra/science/muscle/LICENSE	Tue Aug  7 02:20:01 2007
@@ -0,0 +1,10 @@
+MUSCLE is public domain software 
+
+The MUSCLE software, including object and source code and
+documentation, is hereby donated to the public domain.
+
+Disclaimer of warranty
+
+THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
+EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Index: extra/science/muscle/PKGBUILD
diff -u extra/science/muscle/PKGBUILD:1.3 extra/science/muscle/PKGBUILD:1.4
--- extra/science/muscle/PKGBUILD:1.3	Tue Dec 20 11:30:37 2005
+++ extra/science/muscle/PKGBUILD	Tue Aug  7 02:20:01 2007
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD,v 1.3 2005/12/20 16:30:37 damir Exp $
+# $Id: PKGBUILD,v 1.4 2007/08/07 06:20:01 eric Exp $
 # Maintainer: damir <damir at archlinux.org>
 # Contributor: Damir Perisa <damir.perisa at bluewin.ch>
 
@@ -7,13 +7,21 @@
 origver=3.6
 pkgrel=1
 pkgdesc="multiple sequence comparison by log-expectation"
+arch=('i686' 'x86_64')
 url="http://www.drive5.com/muscle/"
+license=('custom')
 depends=('gcc')
-source=(http://www.drive5.com/muscle/downloads${origver}/muscle${origver}_src.tar.gz)
+source=(http://www.drive5.com/muscle/downloads${origver}/muscle${origver}_src.tar.gz LICENSE)
+md5sums=('e721d0859da9feec3cedeb42dcee9f59' '57cfb6975987af93c89977f084d53b72')
 
 build() {
   cd $startdir/src/muscle${origver}_src
-  make CFLAGS=" -mcpu=i686 -O2 -pipe" LDLIBS=" -lm" || return 1
-  mkdir -p $startdir/pkg/usr/bin
-  cp muscle $startdir/pkg/usr/bin/
+  if [ "${CARCH}" = "i686" ]; then
+    make CFLAGS=" -march=i686 -mtune=generic -O2 -pipe" LDLIBS=" -lm" || return 1
+  else
+    make CFLAGS=" -march=x86-64 -mtune=generic -O2 -pipe" LDLIBS=" -lm" || return 1
+  fi
+
+  install -D -m755 muscle $startdir/pkg/usr/bin/muscle
+  install -D -m644 ../LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
 }




More information about the arch-commits mailing list