summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD21
1 files changed, 10 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1122ec82db1b..24df2dde7bef 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,34 +1,33 @@
# Maintainer: fuan_k <rrkay at posteo dot net>
-# Maintainer: Bijaya Dangol <dangoldbj23@gmail.com>
-# Maintainer: Virgil Dupras <hsoft@hardcoded.net>
+# Contributor: Bijaya Dangol <dangoldbj23@gmail.com>
+# Contributor: Virgil Dupras <hsoft@hardcoded.net>
pkgname=dupeguru
pkgver=4.1.0
-pkgrel=3
+pkgrel=4
pkgdesc="Find duplicate files with various contents, using perceptual diff for pictures"
arch=('any')
url="https://dupeguru.voltaicideas.net/"
license=('GPL3')
-depends=('python' 'python-pyqt5' 'libxkbcommon-x11')
-makedepends=('python-sphinx')
+depends=('python' 'python-pyqt5' 'python-polib' 'python-send2trash' 'python-hsaudiotag3k'
+ 'libxkbcommon-x11')
+makedepends=('python-distro' 'python-sphinx')
source=( https://github.com/arsenetar/${pkgname}/archive/${pkgver}.tar.gz )
md5sums=('eee02386ea18f592502c05049eda9f99')
provides=("dupeguru")
conflicts=("dupeguru-git" "dupeguru-se" "dupeguru-pe" "dupeguru-me")
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${pkgname}-${pkgver}"
# Instead of doing the full ./bootstrap.sh
python3 -m venv env --system-site-packages
source env/bin/activate
- # FIXME use available packages from the AUR instead of pypi
- msg "Installing dependencies in a virtual environment..."
- python3 -m pip install -r requirements.txt
+ python3 -m pip install --no-index --find-links=deps -r requirements.txt
msg "Starting build..."
python build.py --clean
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${pkgname}-${pkgver}"
cp -R "help" "build"
cp -R "locale" "build"
@@ -40,7 +39,7 @@ package() {
mv ${pkgname}.desktop "${pkgdir}/usr/share/applications"
mkdir -p "${pkgdir}/usr/share/${pkgname}"
- cp -a * "${pkgdir}/usr/share/${pkgname}/"
+ cp -a -- * "${pkgdir}/usr/share/${pkgname}/"
chmod a+x "${pkgdir}/usr/share/${pkgname}/run.py"
mkdir -p "${pkgdir}/usr/share/pixmaps"