jrnl-venv-bin 2.0.0-1
This commit is contained in:
parent
b990b426fe
commit
ebdec4beca
|
@ -4,6 +4,7 @@
|
|||
# Package builds
|
||||
**/builds/**/src
|
||||
**/builds/**/pkg
|
||||
**/builds/**/*.tar.xz
|
||||
|
||||
# Python
|
||||
*.pyc
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
pkgbase = jrnl-venv-bin
|
||||
pkgdesc = Collect your thoughts and notes without leaving the command line. [installed inside a virtualenv]
|
||||
pkgver = 2.0.0
|
||||
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,31 @@
|
|||
# Maintainer: Felipe Martin <me@fmartingr.com>
|
||||
|
||||
pkgname="jrnl-venv-bin"
|
||||
pkgver="2.0.0"
|
||||
pkgrel="1"
|
||||
pkgdesc="Collect your thoughts and notes without leaving the command line. [installed inside a virtualenv]"
|
||||
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
|
||||
}
|
||||
|
||||
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 "$prgdir/opt/jrnl-venv-bin/venv/bin/jrnl" "$pkgdir/usr/local/bin/jrnl"
|
||||
}
|
Loading…
Reference in New Issue