summaryrefslogtreecommitdiff
path: root/community/units
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-06 00:01:51 +0000
committerroot <root@rshg054.dnsready.net>2012-07-06 00:01:51 +0000
commit810a5a6e8edafe2550300c5030083669db6e3973 (patch)
tree67bce9a7079962a26b9f1d156941e8e4a3cda92c /community/units
parent7f6f69dc52c8601768ba48fa7b69507a80d532cb (diff)
Fri Jul 6 00:01:50 UTC 2012
Diffstat (limited to 'community/units')
-rw-r--r--community/units/PKGBUILD6
-rw-r--r--community/units/build-fix.patch11
2 files changed, 13 insertions, 4 deletions
diff --git a/community/units/PKGBUILD b/community/units/PKGBUILD
index f14114da1..0fb0d9ff3 100644
--- a/community/units/PKGBUILD
+++ b/community/units/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 73111 2012-07-01 18:55:45Z spupykin $
+# $Id: PKGBUILD 73248 2012-07-04 09:22:47Z 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.00
-pkgrel=1
+pkgrel=2
pkgdesc="converts between different units"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/units/units.html"
@@ -16,7 +16,7 @@ install=units.install
source=(http://ftp.gnu.org/gnu/units/$pkgname-$pkgver.tar.gz
build-fix.patch)
md5sums=('6d0518d493f9bab5aa318a3c7d0801b2'
- 'bf891464e398b0ddadac97dd7ce948c4')
+ 'dbb20e628ce0879fe82393f585e9dab6')
build() {
cd $srcdir/$pkgname-$pkgver
diff --git a/community/units/build-fix.patch b/community/units/build-fix.patch
index 219c16b85..7361a9e91 100644
--- a/community/units/build-fix.patch
+++ b/community/units/build-fix.patch
@@ -1,6 +1,6 @@
diff -wbBur units-2.00.org/Makefile.in units-2.00/Makefile.in
--- units-2.00.org/Makefile.in 2012-05-03 00:37:55.000000000 +0400
-+++ units-2.00/Makefile.in 2012-07-01 22:44:37.000000000 +0400
++++ units-2.00/Makefile.in 2012-07-04 12:54:20.000000000 +0400
@@ -84,10 +84,10 @@
sed -e "s:outfile = 'currency.units':outfile='@UDAT@currency.units':" units_cur > units_cur_inst
@@ -16,3 +16,12 @@ diff -wbBur units-2.00.org/Makefile.in units-2.00/Makefile.in
$(INSTALL_PROGRAM) units_cur_inst $(DESTDIR)$(bindir)/`echo units_cur|sed '$(transform)'`
install: units@EXEEXT@ install-doc install-support
+diff -wbBur units-2.00.org/units_cur units-2.00/units_cur
+--- units-2.00.org/units_cur 2012-05-01 04:51:35.000000000 +0400
++++ units-2.00/units_cur 2012-07-04 12:53:47.000000000 +0400
+@@ -1,4 +1,4 @@
+-#!/usr/bin/python
++#!/usr/bin/python2
+
+ import urllib
+ import datetime