[arch-commits] Commit in calc/repos/community-x86_64 (PKGBUILD PKGBUILD)
Kyle Keen
kkeen at gemini.archlinux.org
Thu Nov 25 09:38:14 UTC 2021
Date: Thursday, November 25, 2021 @ 09:38:14
Author: kkeen
Revision: 1054761
archrelease: copy trunk to community-x86_64
Added:
calc/repos/community-x86_64/PKGBUILD
(from rev 1054760, calc/trunk/PKGBUILD)
Deleted:
calc/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 68 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 34 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-25 09:37:26 UTC (rev 1054760)
+++ PKGBUILD 2021-11-25 09:38:14 UTC (rev 1054761)
@@ -1,34 +0,0 @@
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgname=calc
-pkgver=2.13.0.1
-pkgrel=2
-pkgdesc="Arbitrary precision console calculator"
-arch=('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")
-sha256sums=('6ae538f57785c5701a70112ccf007ab5553abd332ae2deaadaf564f401c734ad')
-
-prepare() {
- cd "$srcdir/calc-$pkgver"
- sed -i 's/${CC} ${LIBCALC_SHLIB}/${CC} ${LDFLAGS} ${LIBCALC_SHLIB}/' Makefile
- sed -i 's/${CC} ${LIBCUSTCALC_SHLIB}/${CC} ${LDFLAGS} ${LIBCUSTCALC_SHLIB}/' custom/Makefile
-}
-
-build() {
- cd "$srcdir/calc-$pkgver"
- make USE_READLINE="-DUSE_READLINE" READLINE_LIB="-lreadline" READLINE_EXTRAS="-lhistory -lncurses" -j1 \
- EXTRA_CFLAGS="$CPPFLAGS $CFLAGS" EXTRA_LDFLAGS="$LDFLAGS" ARCH_CFLAGS='' LD_SHARE='' DEBUG=''
-}
-
-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-x86_64/PKGBUILD (from rev 1054760, calc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-25 09:38:14 UTC (rev 1054761)
@@ -0,0 +1,34 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=calc
+pkgver=2.14.0.8
+pkgrel=1
+pkgdesc="Arbitrary precision console calculator"
+arch=('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")
+sha256sums=('ad6a2c44eeea7e06efca5384f107ffaee7564407a7474d7cd4928a53b1a28386')
+
+prepare() {
+ cd "$srcdir/calc-$pkgver"
+ sed -i 's/${CC} ${LIBCALC_SHLIB}/${CC} ${LDFLAGS} ${LIBCALC_SHLIB}/' Makefile
+ sed -i 's/${CC} ${LIBCUSTCALC_SHLIB}/${CC} ${LDFLAGS} ${LIBCUSTCALC_SHLIB}/' custom/Makefile
+}
+
+build() {
+ cd "$srcdir/calc-$pkgver"
+ make USE_READLINE="-DUSE_READLINE" READLINE_LIB="-lreadline" READLINE_EXTRAS="-lhistory -lncurses" -j1 \
+ EXTRA_CFLAGS="$CPPFLAGS $CFLAGS" EXTRA_LDFLAGS="$LDFLAGS" ARCH_CFLAGS='' LD_SHARE='' DEBUG=''
+}
+
+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