From 8784d3134c1d4b4c02d705259ae2ebd768c778fd Mon Sep 17 00:00:00 2001 From: Parabola Date: Wed, 27 Apr 2011 22:26:40 +0000 Subject: Wed Apr 27 22:26:47 UTC 2011 --- testing/mpfr/PKGBUILD | 33 --------------------------------- testing/mpfr/mpfr.install | 20 -------------------- 2 files changed, 53 deletions(-) delete mode 100644 testing/mpfr/PKGBUILD delete mode 100644 testing/mpfr/mpfr.install (limited to 'testing/mpfr') diff --git a/testing/mpfr/PKGBUILD b/testing/mpfr/PKGBUILD deleted file mode 100644 index 7e1f4c1a3..000000000 --- a/testing/mpfr/PKGBUILD +++ /dev/null @@ -1,33 +0,0 @@ -# $Id: PKGBUILD 118927 2011-04-09 13:01:31Z allan $ -# Maintainer: Allan McRae -# Maintainer: Jan de Groot -# Contributor: damir - -pkgname=mpfr -pkgver=3.0.1 -pkgrel=1 -pkgdesc="Multiple-precision floating-point library" -arch=('i686' 'x86_64') -url="http://www.mpfr.org/" -license=('LGPL') -depends=('gmp>=5.0') -options=('!libtool') -install=mpfr.install -source=(http://www.mpfr.org/mpfr-current/mpfr-${pkgver}.tar.xz) -md5sums=('645882d9d179113a70af84d27086ed9f') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr --enable-thread-safe --enable-shared - make -} - -check() { - cd "${srcdir}/${pkgname}-${pkgver}" - make check -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install -} diff --git a/testing/mpfr/mpfr.install b/testing/mpfr/mpfr.install deleted file mode 100644 index d6dd0475b..000000000 --- a/testing/mpfr/mpfr.install +++ /dev/null @@ -1,20 +0,0 @@ -info_dir=usr/share/info -info_files=(mpfr.info) - -post_install() { - [ -x usr/bin/install-info ] || return 0 - for f in ${info_files[@]}; do - install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null - done -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - [ -x usr/bin/install-info ] || return 0 - for f in ${info_files[@]}; do - install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null - done -} -- cgit v1.2.3-54-g00ecf