summaryrefslogtreecommitdiff
path: root/community/calc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/calc/PKGBUILD')
-rw-r--r--community/calc/PKGBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/community/calc/PKGBUILD b/community/calc/PKGBUILD
index 129fa3fc9..09198d579 100644
--- a/community/calc/PKGBUILD
+++ b/community/calc/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 61256 2011-12-26 12:59:57Z spupykin $
+# $Id: PKGBUILD 93457 2013-07-03 13:50:16Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=calc
-pkgver=2.12.4.4
+pkgver=2.12.4.8
pkgrel=1
pkgdesc="console calculator"
arch=(i686 x86_64)
@@ -12,7 +12,7 @@ license=('GPL')
depends=(glibc)
#source=(http://switch.dl.sf.net/sourceforge/calc/calc-$pkgver.tar.bz2)
source=(http://www.isthe.com/chongo/src/calc/calc-$pkgver.tar.bz2)
-md5sums=('1ad16a9304df7137cd8626a1f50b6aae')
+md5sums=('38694f375e172f0b830d4dbf9d6f2dcc')
build() {
cd $srcdir/calc-$pkgver
@@ -53,6 +53,10 @@ build() {
EOF
make -j1
+}
+
+package() {
+ cd $srcdir/calc-$pkgver
make T=$pkgdir install
mv $pkgdir/usr/bin/cscript $pkgdir/usr/share/calc/
}