blob: 32707288f7a450e7c28a966bae9892d5fe768538 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: Michael <x30827pos@gmail.com>
pkgname=git2md-git
reponame=git2md
pkgver=1.1.1.r0.g$(git rev-parse --short HEAD)
pkgrel=1
pkgdesc="Convert Git repository contents to Markdown format"
arch=('any')
url="https://github.com/xpos587/$reponame"
license=('MIT')
depends=('python' 'python-pathspec')
makedepends=('git' 'python-pip' 'python-setuptools')
provides=("python-$reponame")
conflicts=("python-$reponame")
source=("git+https://github.com/xpos587/$reponame.git")
sha256sums=('SKIP')
build() {
cd "$srcdir/$reponame"
python setup.py build
}
package() {
cd "$srcdir/$reponame"
python setup.py install --root="$pkgdir/" --optimize=1
pip install --root="$pkgdir" nbconvert pymupdf4llm
}
|