Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#41319 - [sxiv] PKGBUILD: use DESTDIR

Attached to Project: Community Packages
Opened by I Said Socks (socks) - Thursday, 24 July 2014, 07:12 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Saturday, 26 July 2014, 10:40 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

If you look at the man page sxiv(1), there is reference to the $pkgdir

To fix this, change the PKGBUILD like this,

- make PREFIX="$pkgdir"/usr install
+ make DESTDIR="$pkgdir" PREFIX=/usr install
This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Saturday, 26 July 2014, 10:40 GMT
Reason for closing:  Fixed
Additional comments about closing:  sxiv-1.2-3
Comment by I Said Socks (socks) - Saturday, 26 July 2014, 04:49 GMT
Just noticed sxiv provides icons now. So add this to package() too:

make -C icon PREFIX="/usr" DESTDIR="$pkgdir" install

with that, we also need

gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor

in the install scriptlet.
Comment by I Said Socks (socks) - Saturday, 26 July 2014, 07:08 GMT
Hmm, seems it's useless to install those icons, since the .desktop file says NoDisplay=true

EDIT: nope, it's useful in the window/application switcher. e.g. in Gnome Alt-Tab.

Loading...