summaryrefslogtreecommitdiff
path: root/community/units
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
commit18a41d682d6e91e0d28fce23eb75292f477bd620 (patch)
treebce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/units
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/units')
-rw-r--r--community/units/PKGBUILD29
-rw-r--r--community/units/units.install18
2 files changed, 0 insertions, 47 deletions
diff --git a/community/units/PKGBUILD b/community/units/PKGBUILD
deleted file mode 100644
index c9be463ad..000000000
--- a/community/units/PKGBUILD
+++ /dev/null
@@ -1,29 +0,0 @@
-# $Id: PKGBUILD 86729 2013-03-21 15:11:16Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Maintainer: Jeff Mickey <jeff@archlinux.org>
-# Contributor: Steve Sansom <snsansom@gmail.com>
-
-pkgname=units
-pkgver=2.01
-pkgrel=2
-pkgdesc="converts between different units"
-arch=('i686' 'x86_64')
-url="http://www.gnu.org/software/units/units.html"
-depends=('readline')
-license=("GPL")
-options=('!makeflags')
-install=units.install
-source=(http://ftp.gnu.org/gnu/units/$pkgname-$pkgver.tar.gz)
-md5sums=('81bf85937c56fbbd04b16f2f3f9d8526')
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- sed -i 's|/usr/bin/python|/usr/bin/python2|' units_cur
- ./configure --prefix=/usr --datadir=/usr/share
- make
-}
-
-package() {
- cd $srcdir/$pkgname-$pkgver
- make DESTDIR=$pkgdir install
-}
diff --git a/community/units/units.install b/community/units/units.install
deleted file mode 100644
index 7eae54377..000000000
--- a/community/units/units.install
+++ /dev/null
@@ -1,18 +0,0 @@
-infodir=/usr/share/info
-filelist=(units.info)
-
-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
-}