[arch-commits] Commit in (10 files)
Ronald van Haren
ronald at archlinux.org
Tue Jul 31 19:58:07 UTC 2012
Date: Tuesday, July 31, 2012 @ 15:58:06
Author: ronald
Revision: 164374
add netcdf-fortran and netcdf-cxx packages
Added:
netcdf-cxx/
netcdf-cxx/repos/
netcdf-cxx/trunk/
netcdf-cxx/trunk/PKGBUILD
netcdf-fortran/
netcdf-fortran/repos/
netcdf-fortran/trunk/
netcdf-fortran/trunk/PKGBUILD
netcdf-fortran/trunk/netcdf-fortran.install
Modified:
ktorrent/trunk/PKGBUILD
---------------------------------------------+
ktorrent/trunk/PKGBUILD | 8 +++--
netcdf-cxx/trunk/PKGBUILD | 34 +++++++++++++++++++++++++
netcdf-fortran/trunk/PKGBUILD | 35 ++++++++++++++++++++++++++
netcdf-fortran/trunk/netcdf-fortran.install | 19 ++++++++++++++
4 files changed, 93 insertions(+), 3 deletions(-)
Modified: ktorrent/trunk/PKGBUILD
===================================================================
--- ktorrent/trunk/PKGBUILD 2012-07-31 19:53:39 UTC (rev 164373)
+++ ktorrent/trunk/PKGBUILD 2012-07-31 19:58:06 UTC (rev 164374)
@@ -5,7 +5,7 @@
pkgname=ktorrent
pkgver=4.2.1
-pkgrel=1
+pkgrel=2
pkgdesc="A powerful BitTorrent client for KDE"
arch=('i686' 'x86_64')
url='http://ktorrent.org/'
@@ -13,16 +13,18 @@
depends=('libktorrent' 'kdebase-workspace' 'taglib')
makedepends=('automoc4' 'cmake' 'boost')
source=("http://ktorrent.org/downloads/${pkgver}/${pkgname}-${pkgver}.tar.bz2"
- 'httpserver.patch')
+ 'httpserver.patch' 'magnet.patch')
install=${pkgname}.install
sha1sums=('3f52c4a10011a49d304c08a3bb1290a022e0c53f'
- 'cef22b24af540e1bfcf13da60e4846ade106c303')
+ 'cef22b24af540e1bfcf13da60e4846ade106c303'
+ 'f0156489364e5590b0b539cfe2abc929c1922ef8')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
# build time patch
patch -p0 -i "${srcdir}/httpserver.patch"
+ patch -p1 -i "${srcdir}/magnet.patch"
cd "${srcdir}"
mkdir build
Added: netcdf-cxx/trunk/PKGBUILD
===================================================================
--- netcdf-cxx/trunk/PKGBUILD (rev 0)
+++ netcdf-cxx/trunk/PKGBUILD 2012-07-31 19:58:06 UTC (rev 164374)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+
+pkgname=netcdf-cxx
+pkgver=4.2
+pkgrel=1
+pkgdesc="NetCDF c++ bindings"
+arch=("i686" "x86_64")
+url="http://www.unidata.ucar.edu/downloads/netcdf/netcdf-cxx/index.jsp"
+depends=('gcc-libs' 'netcdf' 'curl')
+options=('!libtool' '!makeflags')
+license=('custom')
+source=(http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-cxx4-${pkgver}.tar.gz)
+sha1sums=('59628c9f06c211a47517fc00d8b068da159ffa9d')
+
+build() {
+ cd ${srcdir}/${pkgname}4-${pkgver}
+ ./configure --prefix=/usr --enable-shared
+ make
+# make check
+}
+
+package() {
+ cd ${srcdir}/${pkgname}4-${pkgver}
+
+ install -m755 -d ${pkgdir}/usr/lib
+ install -m755 -d ${pkgdir}/usr/share/man
+ make DESTDIR=${pkgdir} install
+
+ install -Dm644 ${srcdir}/${pkgname}4-${pkgver}/COPYRIGHT \
+ ${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT
+
+}
Property changes on: netcdf-cxx/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: netcdf-fortran/trunk/PKGBUILD
===================================================================
--- netcdf-fortran/trunk/PKGBUILD (rev 0)
+++ netcdf-fortran/trunk/PKGBUILD 2012-07-31 19:58:06 UTC (rev 164374)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+
+pkgname=netcdf-fortran
+pkgver=4.2
+pkgrel=1
+pkgdesc="NetCDF fortran bindings"
+arch=("i686" "x86_64")
+url="http://www.unidata.ucar.edu/downloads/netcdf/netcdf-fortran/index.jsp"
+depends=('gcc-libs' 'netcdf' 'curl' 'gcc-fortran')
+options=('!libtool' '!makeflags')
+license=('custom')
+install=${pkgname}.install
+source=(http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-fortran-${pkgver}.tar.gz)
+sha1sums=('f1887314455330f4057bc8eab432065f8f6f74ef')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr --enable-shared
+ make
+# make check
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+
+ install -m755 -d ${pkgdir}/usr/lib
+ install -m755 -d ${pkgdir}/usr/share/man
+ make DESTDIR=${pkgdir} install
+
+ install -Dm644 ${srcdir}/${pkgname}-${pkgver}/COPYRIGHT \
+ ${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT
+
+}
Property changes on: netcdf-fortran/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: netcdf-fortran/trunk/netcdf-fortran.install
===================================================================
--- netcdf-fortran/trunk/netcdf-fortran.install (rev 0)
+++ netcdf-fortran/trunk/netcdf-fortran.install 2012-07-31 19:58:06 UTC (rev 164374)
@@ -0,0 +1,19 @@
+info_dir=/usr/share/info
+info_files=(netcdf-f77.info netcdf-f77.info-1 netcdf-f77.info-2 netcdf-f90.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