Package Details: jpegrescan-git 1.1.0.r16.g3a7de06-1

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
Submitter: jstoik1
Maintainer: Marcouney
Last Packager: Marcouney
Votes: 1
Popularity: 0.000000
First Submitted: 2015-08-22 15:26 (UTC)
Last Updated: 2020-04-02 14:38 (UTC)

Latest Comments

dreieck commented on 2023-12-07 11:58 (UTC)

Please add provides=("jpegrescan=${pkgver}) and conflicts=("jpegrescan").

Thanks for maintaining!

Marcouney commented on 2018-08-01 17:35 (UTC) (edited on 2018-08-01 17:35 (UTC) by Marcouney)

@jstoik1 Thanks for passing on the torch!

jstoik1 commented on 2018-08-01 16:55 (UTC)

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 (UTC) (edited on 2018-08-01 16:56 (UTC) by Marcouney)

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 (UTC)

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 (UTC)

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