Package Details: snapgene-viewer 7.2.1-1

Git Clone URL: (read-only, click to copy)
Package Base: snapgene-viewer
Description: View plasmid maps, annotate features and share sequences (snapgene freeware edition)
Upstream URL:
Keywords: biology cloning design dna molecular plasmid primer snapgene snapgene-viewer
Licenses: custom
Submitter: anntzer
Maintainer: Bitals
Last Packager: Bitals
Votes: 9
Popularity: 0.006980
First Submitted: 2016-02-28 04:56 (UTC)
Last Updated: 2024-05-22 08:13 (UTC)

Latest Comments

1 2 3 Next › Last »

carlosal1015 commented on 2022-03-18 13:24 (UTC)

Hi, recently is failing the download, some hint.

==> Making package: snapgene-viewer 6.0.2-1 (Fri 18 Mar 2022 08:20:48 AM -05)
==> Retrieving sources...
==> ERROR:  was not found in the build directory and is not a URL.

anntzer commented on 2021-07-19 07:43 (UTC)

I disowned the package as I am no longer using it.

tillyboy commented on 2020-05-15 09:20 (UTC)

I'd actually suggest to do so. Just had to reinstall my OS and had to mod the PKGBUILD again because of checksum failure.

anntzer commented on 2020-04-01 22:27 (UTC)

OK, I just updated my version, but I'm also vaguely tempted to just "claim" that this is a "VCS"-like package because the pkgbuild now basically works for all versions (except for moving pkgver to a pkgver() function, and changing the hashsum to SKIP)...

tillyboy commented on 2020-04-01 20:36 (UTC)

Yup that works for me. I actually just saw that I forgot to escape my dots. Assuming that the way they version their products stays the same (e.g. the don't start putting dashes and stuff). However I expect my grep search to be quicker, and also it requires no extra call to tail :P

anntzer commented on 2020-04-01 19:23 (UTC) (edited on 2020-04-01 19:24 (UTC) by anntzer)

Looking at it again, I guess the following would be even simpler:

source=("$(curl --silent --head --location "$_dlurl" | grep -Po 'Location: \K.*rpm' | tail -n1 )")
pkgver="$(grep -Po '\d(\d|\.)+\d' <<< "$source" | tail -n1)"

Can you confirm it works for you?

tillyboy commented on 2020-04-01 18:12 (UTC) (edited on 2020-04-01 18:13 (UTC) by tillyboy)


I guess curl changed its output format?

Probably, I don't use it often enough to notice.

Also I think the old pkgver grep was more robust, as it would allow version numbers such as x.y.zz? (4.3.11 did exist)

Mine should allow for that as well. Even filenames such as "snapgene_viewer_stable_26.5.5846_linux.rpm" should be fine. The hash is more of a inconvenience imo.

anntzer commented on 2020-03-31 21:01 (UTC)

I guess curl changed its output format? Also I think the old pkgver grep was more robust, as it would allow version numbers such as x.y.zz? (4.3.11 did exist)

tillyboy commented on 2020-03-31 15:00 (UTC) (edited on 2020-03-31 15:01 (UTC) by tillyboy)

It's just changing a few commands for setting the variables:

_filename=$(curl --silent --head --location "$_dlurl" | grep -Po 'Location: https://.*\K(snapgene_viewer_.*_linux.rpm)' | tail -n1)
pkgver="$(grep -Po '\d+.\d+.\d+' <<< "$_filename")"                              

I guess shasum will change on each patch though, so that might need to be readjusted from time to time.

anntzer commented on 2020-03-31 14:30 (UTC)

feel free to post a patch here or link a gist.