The GitHub repository has been archived by the owner on Apr 1, 2024. It is now read-only.
From the developer on GitHub:
MozJPEG has the same optimisation built-in and is faster, so we recommend using MozJPEG when possible.
Git Clone URL: | https://aur.archlinux.org/jpegrescan-git.git (read-only, click to copy) |
---|---|
Package Base: | jpegrescan-git |
Description: | Losslessly shrink any JPEG file |
Upstream URL: | https://github.com/kud/jpegrescan |
Licenses: | custom:public domain |
Conflicts: | jpegrescan |
Provides: | jpegrescan |
Submitter: | jstoik1 |
Maintainer: | Marcouney |
Last Packager: | Marcouney |
Votes: | 1 |
Popularity: | 0.000000 |
First Submitted: | 2015-08-22 15:26 (UTC) |
Last Updated: | 2024-08-14 14:18 (UTC) |
The GitHub repository has been archived by the owner on Apr 1, 2024. It is now read-only.
From the developer on GitHub:
MozJPEG has the same optimisation built-in and is faster, so we recommend using MozJPEG when possible.
Please add provides=("jpegrescan=${pkgver})
and conflicts=("jpegrescan")
.
Thanks for maintaining!
@jstoik1 Thanks for passing on the torch!
Thanks @Marcouney!
I actually don't have any active Arch installs at the moment, so I went ahead and disowned the package. If you would like to adopt it, I'm sure other users would appreciate it. :)
PKGBUILD should be sanitized: the build()
function is useless, here, as we are just grabbing a file — the Perl script —; besides, the date in $pkgver
should not be hardcoded but generated by a pkgver()
function. I suggest the following modifications:
source=("git+$url.git")
pkgver() {
cd "$srcdir/$_gitname"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "$srcdir/$_gitname"
mkdir -p "$pkgdir/usr/bin"
cp $_gitname "$pkgdir/usr/bin"
}
If you insist that $pkgver
contains the date of the last commit, put this in pkgver()
:
git log -1 --format=%cd.%h --date=short|tr -d -
or
git log -1 --format=%cd --date=short|tr -d -
Pinned Comments
Marcouney commented on 2024-08-14 14:25 (UTC)
The GitHub repository has been archived by the owner on Apr 1, 2024. It is now read-only.
From the developer on GitHub: