[arch-commits] Commit in gsl/repos (6 files)
Bartłomiej Piotrowski
bpiotrowski at nymeria.archlinux.org
Sat Dec 21 19:41:22 UTC 2013
Date: Saturday, December 21, 2013 @ 20:41:22
Author: bpiotrowski
Revision: 202437
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
gsl/repos/testing-i686/
gsl/repos/testing-i686/PKGBUILD
(from rev 202436, gsl/trunk/PKGBUILD)
gsl/repos/testing-i686/gsl.install
(from rev 202436, gsl/trunk/gsl.install)
gsl/repos/testing-x86_64/
gsl/repos/testing-x86_64/PKGBUILD
(from rev 202436, gsl/trunk/PKGBUILD)
gsl/repos/testing-x86_64/gsl.install
(from rev 202436, gsl/trunk/gsl.install)
----------------------------+
testing-i686/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
testing-i686/gsl.install | 21 +++++++++++++++++++++
testing-x86_64/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
testing-x86_64/gsl.install | 21 +++++++++++++++++++++
4 files changed, 110 insertions(+)
Copied: gsl/repos/testing-i686/PKGBUILD (from rev 202436, gsl/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2013-12-21 19:41:22 UTC (rev 202437)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Juergen Hoetzel <juergen.archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=gsl
+pkgver=1.16
+pkgrel=1
+pkgdesc="The GNU Scientific Library (GSL) is a modern numerical library for C and C++ programmers"
+url="http://www.gnu.org/software/gsl/gsl.html"
+source=("http://ftp.gnu.org/gnu/gsl/$pkgname-$pkgver.tar.gz")
+install=gsl.install
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('glibc' 'bash')
+sha1sums=('210af9366485f149140973700d90dc93a4b6213e')
+
+build() {
+ unset LDFLAGS
+
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make check
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: gsl/repos/testing-i686/gsl.install (from rev 202436, gsl/trunk/gsl.install)
===================================================================
--- testing-i686/gsl.install (rev 0)
+++ testing-i686/gsl.install 2013-12-21 19:41:22 UTC (rev 202437)
@@ -0,0 +1,21 @@
+ infodir=/usr/share/info
+ filelist=(gsl-ref.info.gz)
+
+ post_install() {
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file $infodir/dir 2> /dev/null
+ done
+
+ }
+
+ post_upgrade() {
+ post_install $1
+ }
+
+ pre_remove() {
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+ done
+
+ }
+
Copied: gsl/repos/testing-x86_64/PKGBUILD (from rev 202436, gsl/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2013-12-21 19:41:22 UTC (rev 202437)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Juergen Hoetzel <juergen.archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=gsl
+pkgver=1.16
+pkgrel=1
+pkgdesc="The GNU Scientific Library (GSL) is a modern numerical library for C and C++ programmers"
+url="http://www.gnu.org/software/gsl/gsl.html"
+source=("http://ftp.gnu.org/gnu/gsl/$pkgname-$pkgver.tar.gz")
+install=gsl.install
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('glibc' 'bash')
+sha1sums=('210af9366485f149140973700d90dc93a4b6213e')
+
+build() {
+ unset LDFLAGS
+
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make check
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: gsl/repos/testing-x86_64/gsl.install (from rev 202436, gsl/trunk/gsl.install)
===================================================================
--- testing-x86_64/gsl.install (rev 0)
+++ testing-x86_64/gsl.install 2013-12-21 19:41:22 UTC (rev 202437)
@@ -0,0 +1,21 @@
+ infodir=/usr/share/info
+ filelist=(gsl-ref.info.gz)
+
+ post_install() {
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file $infodir/dir 2> /dev/null
+ done
+
+ }
+
+ post_upgrade() {
+ post_install $1
+ }
+
+ pre_remove() {
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file $infodir/dir 2> /dev/null
+ done
+
+ }
+
More information about the arch-commits
mailing list