[arch-commits] Commit in calc/repos (4 files)
Evangelos Foutras
foutrelis at archlinux.org
Sun Sep 6 22:08:05 UTC 2015
Date: Monday, September 7, 2015 @ 00:08:05
Author: foutrelis
Revision: 139394
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
calc/repos/community-staging-i686/
calc/repos/community-staging-i686/PKGBUILD
(from rev 139393, calc/trunk/PKGBUILD)
calc/repos/community-staging-x86_64/
calc/repos/community-staging-x86_64/PKGBUILD
(from rev 139393, calc/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 28 ++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 28 ++++++++++++++++++++++++++++
2 files changed, 56 insertions(+)
Copied: calc/repos/community-staging-i686/PKGBUILD (from rev 139393, calc/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-09-06 22:08:05 UTC (rev 139394)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=calc
+pkgver=2.12.5.0
+pkgrel=2
+pkgdesc="console calculator"
+arch=(i686 x86_64)
+url="http://www.isthe.com/chongo/tech/comp/calc/"
+license=('GPL')
+depends=('readline')
+makedepends=('chrpath')
+#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=('e8acc73cc0bd130e9194fcd3a5b96700')
+
+build() {
+ cd $srcdir/calc-$pkgver
+ make USE_READLINE="-DUSE_READLINE" READLINE_LIB="-lreadline" READLINE_EXTRAS="-lhistory -lncurses" -j1
+}
+
+package() {
+ cd $srcdir/calc-$pkgver
+ make T=$pkgdir install
+ mv $pkgdir/usr/bin/cscript $pkgdir/usr/share/calc/
+ chrpath -d $pkgdir/usr/bin/calc
+}
Copied: calc/repos/community-staging-x86_64/PKGBUILD (from rev 139393, calc/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-09-06 22:08:05 UTC (rev 139394)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=calc
+pkgver=2.12.5.0
+pkgrel=2
+pkgdesc="console calculator"
+arch=(i686 x86_64)
+url="http://www.isthe.com/chongo/tech/comp/calc/"
+license=('GPL')
+depends=('readline')
+makedepends=('chrpath')
+#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=('e8acc73cc0bd130e9194fcd3a5b96700')
+
+build() {
+ cd $srcdir/calc-$pkgver
+ make USE_READLINE="-DUSE_READLINE" READLINE_LIB="-lreadline" READLINE_EXTRAS="-lhistory -lncurses" -j1
+}
+
+package() {
+ cd $srcdir/calc-$pkgver
+ make T=$pkgdir install
+ mv $pkgdir/usr/bin/cscript $pkgdir/usr/share/calc/
+ chrpath -d $pkgdir/usr/bin/calc
+}
More information about the arch-commits
mailing list