Version 1.4.8

This commit is contained in:
Stelios Tsampas 2022-09-08 18:58:18 +03:00
parent f6cb4b37e9
commit f51647f337
3 changed files with 72 additions and 15 deletions

View File

@ -1,6 +1,6 @@
pkgbase = comictagger
pkgdesc = Application for writing metadata to digital comics, written in Python and PyQt
pkgver = 1.4.3
pkgver = 1.4.8
pkgrel = 1
url = https://github.com/comictagger/comictagger
arch = any
@ -12,17 +12,19 @@ pkgbase = comictagger
makedepends = git
depends = python
depends = python-beautifulsoup4
depends = python-importlib-metadata
depends = python-natsort
depends = python-pathvalidate
depends = python-pillow
depends = python-requests
depends = python-pycountry
depends = python-py7zr
depends = python-pycountry
depends = python-requests
depends = python-text2digits
depends = python-thefuzz
depends = python-typing_extensions
depends = python-unrar-cffi
depends = python-pyqt5
depends = python-pathvalidate
depends = python-pybcj
depends = python-brotli
source = git+https://github.com/comictagger/comictagger.git#tag=1.4.3
source = git+https://github.com/comictagger/comictagger.git#tag=1.4.8
sha256sums = SKIP
pkgname = comictagger

View File

@ -1,7 +1,7 @@
# Maintainer: loathingkernel <loathingkernel _a_ gmail _d_ com>
pkgname=comictagger
pkgver=1.4.3
pkgver=1.4.8
pkgrel=1
pkgdesc='Application for writing metadata to digital comics, written in Python and PyQt'
arch=(any)
@ -9,23 +9,24 @@ url='https://github.com/comictagger/comictagger'
license=(Apache)
depends=(python
python-beautifulsoup4
python-importlib-metadata
python-natsort
python-pathvalidate
python-pillow
python-requests
python-pycountry
python-py7zr
python-pycountry
python-requests
python-text2digits
python-thefuzz
python-typing_extensions
python-unrar-cffi
python-pyqt5
python-pathvalidate
# Deps of py7zr
python-pybcj
python-brotli
)
makedepends=(python-{build,installer}
python-setuptools-scm
python-wheel)
makedepends+=(git)
_tag=1.4.3
_tag=1.4.8
source=(git+https://github.com/comictagger/comictagger.git#tag=$_tag)
sha256sums=('SKIP')

54
PKGBUILD.live Normal file
View File

@ -0,0 +1,54 @@
# Maintainer: loathingkernel <loathingkernel _a_ gmail _d_ com>
pkgname=comictagger
pkgver=1.4.8
pkgrel=1
pkgdesc='Application for writing metadata to digital comics, written in Python and PyQt'
arch=(any)
url='https://github.com/comictagger/comictagger'
license=(Apache)
depends=(python
python-beautifulsoup4
python-importlib-metadata
python-natsort
python-pathvalidate
python-pillow
python-py7zr
python-pycountry
python-requests
python-text2digits
python-thefuzz
python-typing_extensions
python-unrar-cffi
python-pyqt5
)
makedepends=(python-{build,installer}
python-setuptools-scm
python-wheel)
makedepends+=(git)
source=(git+https://github.com/comictagger/comictagger.git#branch=develop)
sha256sums=('SKIP')
pkgver() {
cd comictagger
printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}
build() {
cd comictagger
python -m build -wn
}
package() {
cd comictagger
python -m installer -d "$pkgdir" dist/*.whl
sed -e 's|/usr/local/share/comictagger/app.png|/usr/share/icons/comictagger.png|g' \
-e 's|%%CTSCRIPT%% %F|/usr/bin/comictagger|g' \
-i desktop-integration/linux/ComicTagger.desktop
install -Dm644 desktop-integration/linux/ComicTagger.desktop \
"$pkgdir"/usr/share/applications/comictagger.desktop
install -Dm644 comictaggerlib/graphics/app.png \
"$pkgdir"/usr/share/icons/comictagger.png
}