bitwarden-rofi icon indicating copy to clipboard operation
bitwarden-rofi copied to clipboard

Fix AUR PKGBUILD

Open mattydebie opened this issue 5 years ago • 6 comments

Now that we depend on lib/helper.sh, we also need to install that to a place on users' filesystem. Right now we expect the file to be in $PWD/lib/helper.sh which is not the correct place when installing bwmenu to /usr/bin/bwmenu.

mattydebie avatar May 22 '19 06:05 mattydebie

renamed lib/helper.sh to lib-bwmenu and added it to install with PKGBUILD for bitwarden-rofi-git.

mattydebie avatar May 22 '19 06:05 mattydebie

I would actually recommend to just inline the file. It's only used in a single place, so I don't see the need to have it in a different file in the first place.

Mange avatar May 22 '19 10:05 Mange

That is also a correct assumption :stuck_out_tongue:

mattydebie avatar May 23 '19 05:05 mattydebie

I created that file because i don't like scrolling :) and it makes the codebase more readable IMO. I'm wondering if it's possible to generate a single file by dereferencing the source commands at install time... no idea if this exists in bash.

remyrd avatar May 23 '19 08:05 remyrd

Hey guys, just chiming in to let you know this project inspired me to write this https://github.com/remyrd/jimpass over the last few weeks in my free time.

I had many ideas in mind, but keeping everything in a single file and bash would have never been possible. I warmly invite you to take a look at what I did. If you're interested I'll gladly make you contributors or something (not sure what github offers in this regard).

Again, thanks for the inspiration!

remyrd avatar Jun 17 '19 18:06 remyrd

That's looking quite good! I also was thinking about using python or go in stead of bash but here we are :stuck_out_tongue: Good luck with the project!

mattydebie avatar Jun 19 '19 07:06 mattydebie