Package Details: slurp-git 1-6

Git Clone URL: https://aur.archlinux.org/slurp-git.git (read-only)
Package Base: slurp-git
Description: Select a region in a Wayland compositor
Upstream URL: https://github.com/emersion/slurp
Licenses: MIT
Conflicts: slurp
Provides: slurp
Submitter: GenkiSky
Maintainer: GenkiSky
Last Packager: GenkiSky
Votes: 10
Popularity: 0.066411
First Submitted: 2018-06-24 00:47
Last Updated: 2019-06-14 22:34

Required by (7)

Sources (1)

Latest Comments

eggze commented on 2018-08-14 06:38

GenkiSky: Ok, you're right, it works as well. I just copied it from mako-git package.

GenkiSky commented on 2018-08-13 22:06

eggze: Sorry about that. I think the fix is just to prepend 'git+' so that makepkg knows to clone using git. I think prepending "${pkgname%-*}" and appending ".git" to the URL are both redundant though. I have tested my fix and it seems to work now. Let me know if you run into any issues.

eggze commented on 2018-08-13 17:54

The problem was introduced by this commit: 3bcdb47c5284

I think you should rather use this:

source=("${pkgname%-*}::git+https://github.com/emersion/slurp.git")

eggze commented on 2018-08-13 06:47

Recently I started getting following error:

==> Making package: slurp-git 1-4 (Mon 13 Aug 2018 08:44:11 AM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading slurp...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 69400    0 69400    0     0  66923      0 --:--:--  0:00:01 --:--:-- 66923
==> Validating source files with sha256sums...
    slurp ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
==> Starting pkgver()...
/home/eggze/.cache/yay/slurp-git/PKGBUILD: line 16: cd: slurp: Not a directory
==> ERROR: pkgver is not allowed to be empty.
==> ERROR: pkgver() generated an invalid version:

If I run ls I see:

src/ PKGBUILD slurp

slurp is file, it contains some HTML page.

GenkiSky commented on 2018-08-06 22:20

wheatdog: Thanks. I added it to makedepends now. I think that should be sufficient.

wheatdog commented on 2018-08-06 08:17

wayland-protocols should be added to depends