diff options
author | Matheus | 2024-04-10 17:54:41 +0200 |
---|---|---|
committer | Matheus | 2024-04-10 17:54:41 +0200 |
commit | e000e4f177532ab59bacea8fcf5efab90e9f3142 (patch) | |
tree | e0cdeaf09216dd2714b80a5b43f395f309ba03b7 /PKGBUILD | |
parent | 09695a376e9b8e691d0079a0c25a8d515c623f76 (diff) | |
download | aur-epubmerge.tar.gz |
Fixes
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-x | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -15,13 +15,13 @@ arch=("any") url="https://github.com/JimmXinu/${_pkgname}" license=("GPL-3.0-or-later") depends=("calibre" "python" "python-pyqt5" "python-setuptools" "python-six") -makedepends=("git" "python-build" "python-installer") +makedepends=("python-build" "python-installer" "python-wheel") source=("${pkgname}-v${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz") sha512sums=("a83aa3f00ddbd342b6d76bb6d2bec670f1ec59611d579faa325222308fe1afc38df976da0819a4055cfe781642726561b100fd52b5a62bab5997432869739cb2") build() { - cd "${srcdir}"/"${pkgname}"-"${pkgver}"/ || exit 1 + cd "${srcdir}"/"${_pkgname}"-"${pkgver}"/ || exit 1 python -m build -nw } @@ -31,7 +31,7 @@ package() mkdir -p "${pkgdir}"/usr/share/doc/"${pkgname}"/ # Install the software. - python -m installer -d "${pkgdir}" "${srcdir}"/"${pkgname}"-"${pkgver}"/dist/*.whl + python -m installer -d "${pkgdir}" "${srcdir}"/"${_pkgname}"-"${pkgver}"/dist/*.whl # Install the documentation. install -Dm644 "${srcdir}"/"${_pkgname}"-"${pkgver}"/README.md "${pkgdir}"/usr/share/doc/"${pkgname}"/ |