Package Details: jpegrescan-git 1.1.0.r14.g4a2fc99-1

Git Clone URL: https://aur.archlinux.org/jpegrescan-git.git (read-only)
Package Base: jpegrescan-git
Description: Losslessly shrink any JPEG file
Upstream URL: https://github.com/kud/jpegrescan
Licenses: GPL
Submitter: jstoik1
Maintainer: Marcouney
Last Packager: Marcouney
Votes: 1
Popularity: 0.001375
First Submitted: 2015-08-22 15:26
Last Updated: 2018-08-01 17:46

Latest Comments

Marcouney commented on 2018-08-01 17:35

@jstoik1 Thanks for passing on the torch!

jstoik1 commented on 2018-08-01 16:55

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. :)

Marcouney commented on 2018-08-01 16:51

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 -

jstoik1 commented on 2016-10-13 13:36

Thanks for the heads up, @dark-saber. I removed that dependency entirely; I don't think it is needed for this package.

dark-saber commented on 2016-10-13 09:51

What is the "setuptools" makedep? Is it python-setuptools or python2-setuptools?