testing/cicada: add shell addition install scripts

This commit is contained in:
psykose 2022-02-24 10:15:56 +00:00
parent 74e9f280d9
commit dbc1969a2e
3 changed files with 10 additions and 1 deletions

View File

@ -2,7 +2,7 @@
# Maintainer: Hugo Wang <w@mitnk.com>
pkgname=cicada
pkgver=0.9.29
pkgrel=0
pkgrel=1
pkgdesc="A bash-like Unix shell"
url="https://github.com/mitnk/cicada"
# s390x and riscv64 blocked by cargo
@ -10,6 +10,7 @@ arch="all !s390x !riscv64"
license="MIT"
makedepends="sqlite-dev cargo"
checkdepends="xz"
install="$pkgname.post-install $pkgname.pre-deinstall"
source="$pkgname-$pkgver.tar.gz::https://github.com/mitnk/cicada/archive/v$pkgver.tar.gz
ulimit.patch
unbundle-sqlite.patch

View File

@ -0,0 +1,4 @@
#!/bin/sh
add-shell '/usr/bin/cicada'
exit 0

View File

@ -0,0 +1,4 @@
#!/bin/sh
remove-shell '/usr/bin/cicada'
exit 0