Package Details: carp-git v0.3.0.r198.g6954642c-1

Git Clone URL: https://aur.archlinux.org/carp-git.git (read-only, click to copy)
Package Base: carp-git
Description: A statically typed lisp, without a GC, for real-time applications.
Upstream URL: https://github.com/carp-lang/Carp
Licenses: Apache
Conflicts: carp
Provides: carp
Submitter: KokaKiwi
Maintainer: None
Last Packager: KokaKiwi
Votes: 0
Popularity: 0.000000
First Submitted: 2019-08-20 17:11 (UTC)
Last Updated: 2019-11-13 19:12 (UTC)

Dependencies (3)

Required by (0)

Sources (2)

Latest Comments

sakaru commented on 2022-12-06 15:18 (UTC)

Please update the schema for the upstream source to git+https. That way even users who have not set up GitHub ssh access can still build. See https://wiki.archlinux.org/title/Arch_package_guidelines#Package_sources for details.

KokaKiwi commented on 2019-11-13 19:13 (UTC)

I've added it to the PKGBUILD, thanks :)

berquist commented on 2019-11-13 18:58 (UTC)

I've made it so that the Emacs mode is automatically installed:

diff --git a/PKGBUILD b/PKGBUILD
index dd7a7c0..b945581 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,9 @@
 # Maintainer: KokaKiwi <kokakiwi+aur@kokakiwi.net>

-pkgname=carp-git
-pkgver=v0.3.0.r122.g31e10347
-pkgrel=2
+_pkgname=carp
+pkgname=${_pkgname}-git
+pkgver=v0.3.0.r198.g6954642c
+pkgrel=1
 pkgdesc="A statically typed lisp, without a GC, for real-time applications."
 arch=(x86_64)
 url="https://github.com/carp-lang/Carp"
@@ -19,26 +20,26 @@ sha512sums=('SKIP'
             '4421fa7d2db996b4101bc8ee189c1ecb081469826d7cb540c346ed1bdd47c03563f8b52aeef6b033e6bba438f86700855157dd178df72bcca30e40ea4fe61e07')

 pkgver() {
-  cd "carp"
+  cd "${srcdir}/${_pkgname}"
   git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
 }

 build() {
-  cd "carp"
+  cd "${srcdir}/${_pkgname}"

   export STACK_ROOT="${srcdir}/.stack"
   stack build
 }

 check() {
-  cd "carp"
+  cd "${srcdir}/${_pkgname}"

   export STACK_ROOT="${srcdir}/.stack"
   stack test
 }

 package() {
-  cd "carp"
+  cd "${srcdir}/${_pkgname}"

   export STACK_ROOT="${srcdir}"/.stack

@@ -60,4 +61,7 @@ package() {
   install -m0644 -t "${pkgdir}"/usr/share/carp/img img/*

   ln -sf core_index.html "${pkgdir}"/usr/share/carp/docs/core/index.html
+
+  install -dm0755 "${pkgdir}"/usr/share/emacs/site-lisp
+  install -m0644 -t "${pkgdir}"/usr/share/emacs/site-lisp emacs/*
 }