Package Details: organice-git 1..-1

Git Clone URL: https://aur.archlinux.org/organice-git.git (read-only, click to copy)
Package Base: organice-git
Description: Organice is a tool to move files by extension or part of their name from the command line in an easy way.
Upstream URL: https://github.com/snat-s/organice
Licenses: GPL
Provides: organice
Submitter: snat-s
Maintainer: snat-s
Last Packager: snat-s
Votes: 0
Popularity: 0.000000
First Submitted: 2021-01-01 00:41 (UTC)
Last Updated: 2021-01-01 00:41 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

snat-s commented on 2021-02-01 15:44 (UTC)

Hey dreieck I'll change it later today I have been a little bit full with uni, but I hope to solve it.

dreieck commented on 2021-02-01 14:39 (UTC) (edited on 2021-02-01 15:18 (UTC) by dreieck)

→ Here is a PKGBUILD which addresses all the issues I mentioned in my previous comments today.

dreieck commented on 2021-02-01 14:26 (UTC) (edited on 2021-02-01 15:19 (UTC) by dreieck)

In pkgver(), you statically use 1 as first digit. But upstream has versioning information by itself (organice -v does know about a version), so please use that instead of statically assigning a version if somehow possible.

Also, the $pkgver should reflect upstream version. Upstream is 1.00, so $pkgver should start with 1.00 before you add other stuff, but right now you skip the .00. When changing $pkgver scheme, remember to increment $epoch as well.

Thanks for maintaining!

dreieck commented on 2021-02-01 14:14 (UTC) (edited on 2021-02-01 15:18 (UTC) by dreieck)

You are packing a precompiled binary from upstream and not compiling the source file.

So you need to add -bin to the $pkgname (organice-git-bin) according to package naming conventions, or change the PKGBUILD so that you compile from source.

Thanks for maintaining!

dreieck commented on 2021-02-01 13:59 (UTC) (edited on 2021-02-01 13:59 (UTC) by dreieck)

Please add ="${pkgver}" to provides=(organice).

Thanks for maintaining!

dreieck commented on 2021-02-01 13:57 (UTC)

In pkgver() you cd "${_pkgname}", but ${_pkgname} is nowhere defined.

Please correct.

Thanks for maintaining!

dreieck commented on 2021-02-01 13:55 (UTC) (edited on 2021-02-01 14:11 (UTC) by dreieck)

Arch Linux package filesystem provides /usr/local/share/man as a symlink to ../man:

error: failed to commit transaction (conflicting files)
organice-git: /usr/local/share/man exists in filesystem (owned by filesystem)

Please use /usr/local/man instead of /usr/local/share/man.

Also, please do not use /usr/local/ at all but use proper locations in /usr, this package is going to be installed via the package management after all!

The Makefile in upstream has hardcoded path for installing the manpage, to to fix it, it needs to be moved manually in package() to ${pkgdir}/usr/share/man/man1, and ${pkgdir}/usr/local needs to be deleted afterwards.

Thanks for maintaining.