Package Details: wev-git 1.0.0.r2.g54de46d-1

Git Clone URL: https://aur.archlinux.org/wev-git.git (read-only, click to copy)
Package Base: wev-git
Description: Print wayland events, like xev(1)
Upstream URL: https://git.sr.ht/~sircmpwn/wev
Licenses: MIT
Provides: wev
Submitter: KingofToasters
Maintainer: KingofToasters
Last Packager: KingofToasters
Votes: 9
Popularity: 0.000400
First Submitted: 2019-08-11 11:41 (UTC)
Last Updated: 2021-02-22 05:14 (UTC)

Required by (0)

Sources (2)

Latest Comments

« First ‹ Previous 1 2

depau commented on 2019-08-11 17:45 (UTC) (edited on 2019-08-11 17:45 (UTC) by depau)

No, the PKGBUILD is poorly made. It's installing stuff in /usr/local which is protected by pacman as local dirs are for manually-installed files. It's not handled by the package manager.

--- a/PKGBUILD  2019-08-11 19:38:15.782710769 +0200
+++ b/PKGBUILD  2019-08-11 19:43:24.328470611 +0200
@@ -22,11 +22,11 @@

 build() {
   cd "${pkgname%-git}"
-  make
+  make PREFIX=/usr
 }

 package() {
   cd "${pkgname%-git}"
-  make DESTDIR="$pkgdir/" install
+  make PREFIX=/usr DESTDIR="$pkgdir/" install
   install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/${pkgname}/LICENCE"
 }

mgr commented on 2019-08-11 15:43 (UTC) (edited on 2019-08-11 15:44 (UTC) by mgr)

For me it fails to install due to “conflicting files”, saying “wev-git: /usr/local/share/man exists in filesystem (owned by filesystem)”. I can’t see where the install target would offend that though. Is my installation being weird here?