@Freso: fixed, thanks! Sorry for the delay.
Search Criteria
Package Details: imgur-screenshot-git 1.4.9.r1.g77b03da-1
Package Actions
| Package Base: | imgur-screenshot-git |
|---|---|
| Description: | Take screenshot selection, upload to imgur + more cool things |
| Upstream URL: | https://github.com/jomo/imgur-screenshot |
| Category: | multimedia |
| Licenses: | |
| Submitter: | ValdikSS |
| Maintainer: | ValdikSS |
| Last Packager: | ValdikSS |
| Votes: | 5 |
| First Submitted: | 2014-09-04 14:46 |
| Last Updated: | 2015-01-21 09:24 |
Latest Comments
Comment by ValdikSS
Comment by Freso
And `sed -i 's~$HOME/Pictures/imgur.png~/usr/share/pixmaps/imgur-screenshot.png~' imgur-screenshot.sh` should go in prepare() rather than package(). You might also want to add $conflicts and $provides for "imgur-screenshot" in case someone makes a non-git package.
Comment by Freso
You should strip out the "v" in the Git tag in pkgver(): sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
Comment by ValdikSS
@bbbenji, updated
Comment by ValdikSS
@bbbenji, script looks for .version.txt in the same folder where the script is. I will fire the issue on github.
Comment by bbbenji
When trying to get version the script is looking for '/usr/bin/.version.txt' which doesn't exist.
$ imgur-screenshot -v
Unable to find file '/usr/bin/.version.txt' - Make sure it does exist.
You can download the file from https://github.com/jomo/imgur-screenshot/
?!?