[arch-commits] Commit in wcslib/repos (4 files)

Andrea Scarpino andrea at archlinux.org
Sun Nov 18 11:23:13 UTC 2012


    Date: Sunday, November 18, 2012 @ 06:23:12
  Author: andrea
Revision: 171525

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  wcslib/repos/extra-i686/
  wcslib/repos/extra-i686/PKGBUILD
    (from rev 171524, wcslib/trunk/PKGBUILD)
  wcslib/repos/extra-x86_64/
  wcslib/repos/extra-x86_64/PKGBUILD
    (from rev 171524, wcslib/trunk/PKGBUILD)

-----------------------+
 extra-i686/PKGBUILD   |   37 +++++++++++++++++++++++++++++++++++++
 extra-x86_64/PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

Copied: wcslib/repos/extra-i686/PKGBUILD (from rev 171524, wcslib/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2012-11-18 11:23:12 UTC (rev 171525)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Your Name <youremail at domain.com>
+
+pkgname=wcslib
+pkgver=4.16
+pkgrel=1
+pkgdesc="A C library that implements the 'World Coordinate System' (WCS) standard in FITS"
+arch=('i686' 'x86_64')
+url="http://www.atnf.csiro.au/people/Mark.Calabretta/WCS/"
+license=('GPL3')
+depends=('cfitsio')
+makedepends=('gcc-fortran')
+source=("ftp://ftp.atnf.csiro.au/pub/software/${pkgname}/${pkgname}.tar.bz2")
+md5sums=('30439a0bb730ef936646d646c9f07518')
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./configure --prefix=/usr \
+    --without-pgplot
+  make
+}
+
+#check() {
+#  cd $pkgname-$pkgver
+#  make -k check
+#}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir/" install
+  
+  # Fix wrong permissions
+
+  chmod g=rx,-s "${pkgdir}"/usr/{bin/,/lib/{,pkgconfig},share/man/man1/}
+  chmod -s "${pkgdir}"/usr/{include/wcslib-${pkgver}/,share/doc/wcslib-${pkgver}/{,html/}}
+}

Copied: wcslib/repos/extra-x86_64/PKGBUILD (from rev 171524, wcslib/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2012-11-18 11:23:12 UTC (rev 171525)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Your Name <youremail at domain.com>
+
+pkgname=wcslib
+pkgver=4.16
+pkgrel=1
+pkgdesc="A C library that implements the 'World Coordinate System' (WCS) standard in FITS"
+arch=('i686' 'x86_64')
+url="http://www.atnf.csiro.au/people/Mark.Calabretta/WCS/"
+license=('GPL3')
+depends=('cfitsio')
+makedepends=('gcc-fortran')
+source=("ftp://ftp.atnf.csiro.au/pub/software/${pkgname}/${pkgname}.tar.bz2")
+md5sums=('30439a0bb730ef936646d646c9f07518')
+
+build() {
+  cd $pkgname-$pkgver
+
+  ./configure --prefix=/usr \
+    --without-pgplot
+  make
+}
+
+#check() {
+#  cd $pkgname-$pkgver
+#  make -k check
+#}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir/" install
+  
+  # Fix wrong permissions
+
+  chmod g=rx,-s "${pkgdir}"/usr/{bin/,/lib/{,pkgconfig},share/man/man1/}
+  chmod -s "${pkgdir}"/usr/{include/wcslib-${pkgver}/,share/doc/wcslib-${pkgver}/{,html/}}
+}




More information about the arch-commits mailing list