jrnl-venv-bin: 2.0.1-1
This commit is contained in:
parent
d9ac874924
commit
e343cbe229
|
@ -0,0 +1,14 @@
|
||||||
|
pkgbase = jrnl-venv-bin
|
||||||
|
pkgdesc = Collect your thoughts and notes without leaving the command line. [installed inside a virtualenv to prevent depedencies directly on the system]
|
||||||
|
pkgver = 2.0.1
|
||||||
|
pkgrel = 1
|
||||||
|
url = https://jrnl.sh/
|
||||||
|
arch = i686
|
||||||
|
arch = x86_64
|
||||||
|
license = MIT
|
||||||
|
depends = python
|
||||||
|
depends = python-virtualenv
|
||||||
|
depends = python-pip
|
||||||
|
|
||||||
|
pkgname = jrnl-venv-bin
|
||||||
|
|
|
@ -0,0 +1,32 @@
|
||||||
|
# Maintainer: Felipe Martin <me@fmartingr.com>
|
||||||
|
|
||||||
|
pkgname="jrnl-venv-bin"
|
||||||
|
pkgver="2.0.1"
|
||||||
|
pkgrel="1"
|
||||||
|
pkgdesc="Collect your thoughts and notes without leaving the command line. [installed inside a virtualenv to prevent depedencies directly on the system]"
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
url="https://jrnl.sh/"
|
||||||
|
license=('MIT')
|
||||||
|
depends=('python' 'python-virtualenv' 'python-pip')
|
||||||
|
optdepends=('')
|
||||||
|
conflicts=('')
|
||||||
|
source=()
|
||||||
|
md5sums=()
|
||||||
|
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
mkdir -p "$srcdir/jrnl-venv-bin"
|
||||||
|
cd "$srcdir/jrnl-venv-bin" || exit
|
||||||
|
python3 -m venv venv
|
||||||
|
source venv/bin/activate
|
||||||
|
pip install jrnl==2.0.1
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
mkdir "$pkgdir/opt"
|
||||||
|
cp -r "$srcdir/jrnl-venv-bin" "$pkgdir/opt/jrnl-venv-bin"
|
||||||
|
cd "$pkgdir/" || exit
|
||||||
|
mkdir -p usr/local/bin
|
||||||
|
ln -s "/opt/jrnl-venv-bin/venv/bin/jrnl" "$pkgdir/usr/local/bin/jrnl"
|
||||||
|
sed -i "1s/.*/#!\/opt\/jrnl-venv-bin\/venv\/bin\/python/" "opt/jrnl-venv-bin/venv/bin/jrnl"
|
||||||
|
}
|
|
@ -1,5 +1,5 @@
|
||||||
name = "jrnl-venv-bin"
|
name = "jrnl-venv-bin"
|
||||||
version = "2.0.0"
|
version = "2.0.1"
|
||||||
build_number = "1"
|
build_number = "1"
|
||||||
description = "Collect your thoughts and notes without leaving the command line. [installed inside a virtualenv to prevent depedencies directly on the system]"
|
description = "Collect your thoughts and notes without leaving the command line. [installed inside a virtualenv to prevent depedencies directly on the system]"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
|
@ -8,7 +8,7 @@ prepare() {
|
||||||
cd "$srcdir/{{ name }}" || exit
|
cd "$srcdir/{{ name }}" || exit
|
||||||
python3 -m venv venv
|
python3 -m venv venv
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
pip install {{ builder.packages|join(" ") }}
|
pip install {{ builder.packages|join(" ") }}=={{ version }}
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
|
Loading…
Reference in New Issue