please fix this pkgbuild to conform to packageing standards
Search Criteria
Package Details: dupeguru 4.3.1-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/dupeguru.git (read-only, click to copy) |
---|---|
Package Base: | dupeguru |
Description: | Find duplicate files with various contents, using perceptual diff for pictures |
Upstream URL: | https://dupeguru.voltaicideas.net/ |
Licenses: | GPL3 |
Conflicts: | dupeguru-git, dupeguru-me, dupeguru-pe, dupeguru-se |
Provides: | dupeguru |
Submitter: | dangoldbj |
Maintainer: | fuan_k |
Last Packager: | fuan_k |
Votes: | 99 |
Popularity: | 0.117258 |
First Submitted: | 2016-10-25 11:55 (UTC) |
Last Updated: | 2024-05-06 00:29 (UTC) |
Dependencies (12)
- libxkbcommon-x11 (libxkbcommon-x11-gitAUR)
- python (python37AUR, python311AUR, python310AUR)
- python-mutagen (python-mutagen-gitAUR)
- python-pip
- python-polib
- python-pyqt5 (python-pyqt5-sip4AUR, python-pyqt5-webkitAUR)
- python-semantic-version
- python-send2trash
- python-xxhash (python-xxhash-gitAUR)
- python-distro (make)
- python-setuptools (make)
- python-sphinx (python-sphinx-gitAUR) (make)
Required by (0)
Sources (2)
gtmanfred commented on 2012-07-21 20:03 (UTC)
rtfreedman commented on 2012-07-09 17:26 (UTC)
I don't like 'latest' PKGBUILDs - when was it last time updated? - how do I know of an updated build? and what version do I have installed currently? A lot of questions best solved with a 'proper' PKGBUILD - so here it is one - maybe not perfect... but it works.
It has now 'any' as arch - maybe we can ditch 'bin' in the package name?
# Maintainer: Dan Serban
# Contributor: SiD, rtfreedman
pkgname=dupeguru-me-bin
pkgver=6.4.2
pkgrel=1
pkgdesc="Find duplicate songs in your music collection"
arch=(any)
url=http://www.hardcoded.net/dupeguru_me/
license=(custom:Fairware)
depends=(python pyqt sip)
source=(http://download.hardcoded.net/dupeguru-me_${pkgver}_all.deb)
md5sums=('d1e9cba2993b31769cbfb03c9290ba47')
build() {
return 0
}
package() {
cd "${srcdir}"
bsdtar -xf dupeguru-me_${pkgver}_all.deb data.tar.gz
bsdtar -xf data.tar.gz
# use our libs
# rm usr/share/dupeguru_me/sip.so
rm -rf usr/share/dupeguru_me/PyQt4
# move in place
mkdir -p "${pkgdir}"/usr/bin
mv usr/share "${pkgdir}"/usr/
# fixup
sed -i 's|#!/usr/bin/env python3.1|#!/usr/bin/python|' "${pkgdir}"/usr/share/dupeguru_me/run.py
# use wrapper
USRBINFILE="${pkgdir}"/usr/bin/dupeguru_me
echo "#!/bin/bash" > "$USRBINFILE"
echo "cd /usr/share/dupeguru_me" >> "$USRBINFILE"
echo "python run.py" >> "$USRBINFILE"
chmod 755 "$USRBINFILE"
}
rtfreedman commented on 2012-01-22 14:30 (UTC)
Hm, it did returned more than 10 results (au contraire to the docs)....
And don't trust it blindly!
rtfreedman commented on 2012-01-22 14:17 (UTC)
Just a comment to the license: Fairware
This version only finds 10 duplicates - you have to send some money to the author first to get this package work as advertised.
[quote]Applications created by Hardcoded Software are open source. However, it needs to be clear that these applications have been professionally built and that the time invested in building those applications is expected to be compensated by contributions from users. All hours invested in HS apps are logged, and all contributions are used to pay those hours back. [/quote]
rtfreedman commented on 2012-01-22 13:27 (UTC)
The current version 6.2.1 doesn't reference /local/ anymore (resp. dir's local/share and local/bin are empty) - please update PKGBUILD
rtfreedman commented on 2012-01-22 13:15 (UTC)
This doesn't work
_url=$(lynx -dump http://www.hardcoded.net/dupeguru_me/ | grep -o http.*${_filearch}.deb | tail -1)
This line select the previous version.
it should read
_url=$(lynx -dump http://www.hardcoded.net/dupeguru_me/ | grep -o http.*${_filearch}.deb | head -1)
Pinned Comments
itsnotme commented on 2019-07-21 13:08 (UTC)
If anyone is wondering why the source has changed, Dupeguru's website says the maintainer has changed. And so the link https://www.hardcoded.net/dupeguru/ leads us to https://dupeguru.voltaicideas.net/ which in turn has a link to https://github.com/arsenetar/dupeguru/ which is the GitHub repo the sources are downloaded from. So the source change is legitimate.