Shadow moodle-dl-git
This commit is contained in:
31
moodle-dl-git/.SRCINFO
Normal file
31
moodle-dl-git/.SRCINFO
Normal file
@@ -0,0 +1,31 @@
|
||||
pkgbase = moodle-dl-git
|
||||
pkgdesc = Moodle downloader to download course content automatically
|
||||
pkgver = 2.3.13.r2.g9aae52a
|
||||
pkgrel = 1
|
||||
url = https://github.com/JustAnyones/Moodle-DL
|
||||
arch = any
|
||||
license = GPL3
|
||||
makedepends = python-build
|
||||
makedepends = python-installer
|
||||
makedepends = python-wheel
|
||||
makedepends = git
|
||||
depends = python
|
||||
depends = ffmpeg
|
||||
depends = python-sentry_sdk
|
||||
depends = python-colorama
|
||||
depends = yt-dlp
|
||||
depends = python-certifi
|
||||
depends = python-html2text
|
||||
depends = python-requests
|
||||
depends = python-xmpppy
|
||||
depends = python-aiodns
|
||||
depends = python-aiofiles
|
||||
depends = python-aiohttp
|
||||
depends = python-colorlog
|
||||
depends = python-readchar
|
||||
provides = moodle-dl
|
||||
conflicts = moodle-dl
|
||||
source = git+https://github.com/JustAnyones/Moodle-DL.git
|
||||
md5sums = SKIP
|
||||
|
||||
pkgname = moodle-dl-git
|
||||
4
moodle-dl-git/.gitignore
vendored
Normal file
4
moodle-dl-git/.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
/*
|
||||
!/.gitignore
|
||||
!/.SRCINFO
|
||||
!/PKGBUILD
|
||||
36
moodle-dl-git/PKGBUILD
Normal file
36
moodle-dl-git/PKGBUILD
Normal file
@@ -0,0 +1,36 @@
|
||||
# Maintainer: Mario Ortiz Manero <marioortizmanero@gmail.com>
|
||||
# Maintainer: Daniel Vogt <marioortizmanero@gmail.com>
|
||||
# Maintainer: Dominykas Svetikas <dominykas@svetikas.lt>
|
||||
pkgname=moodle-dl-git
|
||||
_pkgname=Moodle-DL
|
||||
pkgver=2.3.13.r2.g9aae52a
|
||||
pkgrel=1
|
||||
pkgdesc='Moodle downloader to download course content automatically'
|
||||
arch=('any')
|
||||
url='https://github.com/JustAnyones/Moodle-DL'
|
||||
license=('GPL3')
|
||||
depends=('python' 'ffmpeg' 'python-sentry_sdk' 'python-colorama'
|
||||
'yt-dlp' 'python-certifi' 'python-html2text'
|
||||
'python-requests' 'python-xmpppy' 'python-aiodns'
|
||||
'python-aiofiles' 'python-aiohttp' 'python-colorlog'
|
||||
'python-readchar')
|
||||
makedepends=('python-build' 'python-installer' 'python-wheel' 'git')
|
||||
conflicts=('moodle-dl')
|
||||
provides=('moodle-dl')
|
||||
source=("git+$url.git")
|
||||
md5sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "$_pkgname"
|
||||
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$_pkgname"
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_pkgname"
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
}
|
||||
Reference in New Issue
Block a user