[arch-commits] Commit in (5 files)
Ronald van Haren
ronald at archlinux.org
Mon Jul 11 21:00:36 UTC 2011
Date: Monday, July 11, 2011 @ 17:00:36
Author: ronald
Revision: 131203
add tamu-anova as a new dependency for qtiplot
Added:
tamu-anova/
tamu-anova/repos/
tamu-anova/trunk/
tamu-anova/trunk/PKGBUILD
tamu-anova/trunk/tamu-anova.install
--------------------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
tamu-anova.install | 18 ++++++++++++++++++
2 files changed, 47 insertions(+)
Added: tamu-anova/trunk/PKGBUILD
===================================================================
--- tamu-anova/trunk/PKGBUILD (rev 0)
+++ tamu-anova/trunk/PKGBUILD 2011-07-11 21:00:36 UTC (rev 131203)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald at archlinux.org>
+# Contributor: Gergely Imreh <imrehg(at)gmail(dot)com>
+
+pkgname=tamu-anova
+pkgver=0.2.1
+pkgrel=1
+pkgdesc="ANOVA Extensions to the GNU Scientific Library"
+arch=('any')
+url="http://www.stat.tamu.edu/~aredd/tamuanova/"
+license=('GPL')
+makedepends=('gcc')
+install=tamu-anova.install
+source=(http://www.stat.tamu.edu/~aredd/tamuanova/tamu_anova-0.2.tar.gz)
+sha1sums=('8c7ffae14ebe92f27d20ff1f0e325875fa6ced53')
+
+build() {
+ cd ${srcdir}/tamu_anova-0.2
+ ./configure --prefix=/usr --infodir=/usr/share/info --includedir=/usr/include
+ make
+}
+
+package() {
+ cd ${srcdir}/tamu_anova-0.2
+ make DESTDIR=${pkgdir} install
+
+}
+
+
Property changes on: tamu-anova/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
+ Id
Added: tamu-anova/trunk/tamu-anova.install
===================================================================
--- tamu-anova/trunk/tamu-anova.install (rev 0)
+++ tamu-anova/trunk/tamu-anova.install 2011-07-11 21:00:36 UTC (rev 131203)
@@ -0,0 +1,18 @@
+info_dir=/usr/share/info
+info_files=(tamu_anova.info)
+
+post_install() {
+ for f in ${info_files[@]}; do
+ install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ for f in ${info_files[@]}; do
+ install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
+ done
+}
More information about the arch-commits
mailing list