[arch-commits] Commit in sc/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 17:06:18 UTC 2020


    Date: Tuesday, July 7, 2020 @ 17:06:18
  Author: felixonmars
Revision: 659554

archrelease: copy trunk to community-staging-x86_64

Added:
  sc/repos/community-staging-x86_64/
  sc/repos/community-staging-x86_64/PKGBUILD
    (from rev 659551, sc/trunk/PKGBUILD)

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Copied: sc/repos/community-staging-x86_64/PKGBUILD (from rev 659551, sc/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 17:06:18 UTC (rev 659554)
@@ -0,0 +1,39 @@
+# Maintainer: Jonathan Steel <jsteel at archlinux.org>
+# Contributor: Ido Rosen <ido at kernel.org>
+# Contributor: Army
+# Contributor: Jay Tanzman <jay at jt512 dot dynddns dot ort>
+# Contributor: Ray Kohler <ataraxia937 at gmail dot com>
+
+pkgname=sc
+pkgver=7.16
+pkgrel=8
+pkgdesc="Ncurses-based spreadsheet program"
+arch=('x86_64')
+url="https://ibiblio.org/pub/linux/apps/financial/spreadsheet/!INDEX.html"
+license=('Public Domain')
+depends=('ncurses')
+source=(https://ibiblio.org/pub/linux/apps/financial/spreadsheet/$pkgname-$pkgver.tar.gz
+        https://launchpadlibrarian.net/1281150/${pkgname}_$pkgver-2.diff.gz)
+md5sums=('1db636e9b2dc7cd73c40aeece6852d47'
+         '83d5d8a4b5ffb4e85da887b63c49f2ff')
+
+build() {
+  cd $pkgname-$pkgver
+
+  patch -p1 -i "$srcdir"/${pkgname}_$pkgver-2.diff
+
+  make
+  make sc.1 psc.1
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  install -d "$pkgdir"/usr/bin "$pkgdir"/usr/share/doc/$pkgname \
+    "$pkgdir"/usr/share/man/man1 "$pkgdir"/usr/share/licenses/$pkgname
+
+  make prefix="$pkgdir"/usr MANDIR="$pkgdir"/usr/share/man/man1 install
+
+  echo "This program is in the public domain." > \
+    "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


More information about the arch-commits mailing list