summaryrefslogtreecommitdiff
path: root/community/libcgns2/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-10-07 03:11:14 -0700
committerroot <root@rshg054.dnsready.net>2013-10-07 03:11:14 -0700
commit9159b8ca1c97a398204d7a7d4d78c3394639bd02 (patch)
treeb5f4812b9eb3f353870fe858d46ca76e9ea1f027 /community/libcgns2/PKGBUILD
parentd3bff0fc1a69eb487b5d45b168c018f44a53b223 (diff)
Mon Oct 7 03:07:04 PDT 2013
Diffstat (limited to 'community/libcgns2/PKGBUILD')
-rw-r--r--community/libcgns2/PKGBUILD47
1 files changed, 0 insertions, 47 deletions
diff --git a/community/libcgns2/PKGBUILD b/community/libcgns2/PKGBUILD
deleted file mode 100644
index 3f7f491cf..000000000
--- a/community/libcgns2/PKGBUILD
+++ /dev/null
@@ -1,47 +0,0 @@
-# $Id: PKGBUILD 83543 2013-02-02 15:55:58Z stephane $
-# Maintainer: Thomas Dziedzic < gostrc at gmail >
-# Contributor: Klimov Max <cleemmi@gmail.com>
-
-pkgname=libcgns2
-_basever=2.5
-_relver=5
-pkgver=${_basever}.${_relver}
-pkgrel=3
-pkgdesc='General purpose library for the storage and retrieval of computational fluid dynamics analysis data by CGNS standard'
-arch=('i686' 'x86_64')
-url='http://www.cgns.org'
-license=('custom')
-conflicts=('libcgns')
-depends=('glibc')
-makedepends=('chrpath')
-source=("http://downloads.sourceforge.net/project/cgns/cgnslib_${_basever}/Release%205/cgnslib_${_basever}-${_relver}.tar.gz")
-md5sums=('ae2a2e79b99d41c63e5ed5f661f70fd9')
-
-[[ "$CARCH" == "x86_64" ]] && _64bits="--enable-64bit"
-
-build() {
- cd cgnslib_${_basever}
-
- ./configure \
- --prefix=/usr \
- --enable-shared \
- ${_64bits}
-
- make
-}
-
-package() {
- cd cgnslib_${_basever}
-
- install -d ${pkgdir}/usr/include
- install -d ${pkgdir}/usr/lib
-
- make install LIBDIR=${pkgdir}/usr/lib INCLUDEDIR=${pkgdir}/usr/include
-
- # install license
- install -d ${pkgdir}/usr/share/licenses/libcgns2
- install -m644 LICENSE \
- ${pkgdir}/usr/share/licenses/libcgns2
-
- chrpath --delete ${pkgdir}/usr/lib/libcgns.so
-}