Package Details: dssim-git 3.2.4.r9.gfb60e92-1

Git Clone URL: https://aur.archlinux.org/dssim-git.git (read-only, click to copy)
Package Base: dssim-git
Description: Image similarity comparison simulating human perception (multiscale SSIM in Rust)
Upstream URL: https://github.com/pornel/dssim/
Licenses: AGPL
Submitter: thiblahute
Maintainer: thiblahute (arti)
Last Packager: arti
Votes: 2
Popularity: 0.000022
First Submitted: 2015-10-11 14:33 (UTC)
Last Updated: 2023-07-11 12:10 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

frankspace commented on 2023-01-11 13:14 (UTC)

Hello again! Just a further update, since my list post I have changed how the package version is computed (and updated the epoch) in my PKGBUILD to git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'. Hope that's helpful to someone.

frankspace commented on 2020-08-21 14:59 (UTC)

Hello! As @spider-mario observed, this PKGBUILD needs to be updated. Here is a proposed PKGBUILD that works for me:

# Maintainer: Thibault Saunier <tsaunier@gnome.org>

pkgname="dssim-git"
_pkgname="dssim"
pkgrel=1
pkgver=r62.b3b0313
pkgdesc="Image similarity comparison simulating human perception (multiscale SSIM in Rust)"
arch=('x86_64')
url="https://github.com/pornel/dssim/"
license=(AGPL)
depends=()
makedepends=('git' 'rust')
source=("git+https://github.com/pornel/${_pkgname}.git")
sha256sums=('SKIP')

pkgver() {
  cd "${srcdir}/${_pkgname}"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "${srcdir}/${_pkgname}"
  cargo build --release
}

package() {
  cd "${srcdir}/${_pkgname}"
  install -Dm755 target/release/${_pkgname} "${pkgdir}/usr/bin/${_pkgname}"
  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
}

Thank you!

spider-mario commented on 2018-04-11 20:52 (UTC)

This is now written in Rust. Here is a patch to update the PKGBUILD: https://ptpb.pw/AI_KcLE0AfRdFZwcT3CxEgbIuexd.patch