Package Details: libcurl-impersonate-bin v0.6.1-1

Git Clone URL: https://aur.archlinux.org/libcurl-impersonate-bin.git (read-only, click to copy)
Package Base: libcurl-impersonate-bin
Description: Special compilation of libcurl that makes it impersonate Firefox and Chrome
Upstream URL: https://github.com/lwthiker/curl-impersonate
Licenses: MIT
Provides: libcurl-impersonate-chrome, libcurl-impersonate-firefox
Submitter: mattf
Maintainer: mattf
Last Packager: mattf
Votes: 1
Popularity: 0.019808
First Submitted: 2022-07-16 02:21 (UTC)
Last Updated: 2024-03-10 12:45 (UTC)

Dependencies (1)

Required by (1)

Sources (3)

Latest Comments

mattf commented on 2024-03-10 12:49 (UTC)

Thanks for the comment @gesh

UPDATE: ignore the below suggestion, TIL install resolves symlinks, making it unsuitable for copying shared libs like this https://stackoverflow.com/a/39295609

As @cspr mentioned, had to change from install to cp

Did update description, added new architeture armv7h and fixed the duplication.

gesh commented on 2024-03-09 19:59 (UTC) (edited on 2024-03-09 20:06 (UTC) by gesh)

Thanks for packaging this!

UPDATE: ignore the below suggestion, TIL install resolves symlinks, making it unsuitable for copying shared libs like this https://stackoverflow.com/a/39295609

In re the package() trouble, how about

package () {
-  mkdir -p "${pkgdir}/usr/lib/"
-  rm libcurl-impersonate*.tar.gz
-  cp -a libcurl-impersonate-* "${pkgdir}/usr/lib/"
-  chown -R root:root "${pkgdir}/usr/lib/"
+    install -o root -g root -D -t "${pkgdir}/usr/lib/" \
+        libcurl-impersonate-*.{a,la,so}*
 }

? Also, checksums are duplicated in the PKGBUILD. Personally dislike md5sums, but that may be cargo-culting on my part. Finally, pkgdesc is pretty long, how about A build of Libcurl designed to impersonate Firefox and Chrome?

mattf commented on 2024-02-21 22:59 (UTC)

Thanks for your suggestion @cspr and sorry for taking so long to respond. Check if the current implementation makes more sense and works for you.

cspr commented on 2023-10-01 23:52 (UTC)

After I install this package, every pacman operation I run gives me this warning:

ldconfig: /usr/lib/libcurl-impersonate-chrome.so.4 is not a symbolic link ldconfig: /usr/lib/libcurl-impersonate-ff.so.4 is not a symbolic link

I think the 'install' command you use does not preserve symlinks and simply makes copies of the .so. I'm not sure what the idiomatic thing to do here is, maybe cp --preserve=links, or manually installing each symlink with ln -s ?