Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AUR git package #3

Merged
merged 2 commits into from
Jan 31, 2018
Merged

Add AUR git package #3

merged 2 commits into from
Jan 31, 2018

Conversation

boxofrox
Copy link
Contributor

Related to issue #1. I have no plans to add this on aur.archlinux.org, so anyone is welcome to be the AUR maintainer.

Since there are no tagged releases, I created an AUR package that builds/installs the latest code in the master branch. Unless the dependencies or make install changes, this package should require no maintenance.

In the event @himdel starts tagging releases, a separate PKGBUILD can be created at that time to only install the latest release.

I had issues with the backticks in the Makefile not evaluating, so there's a patch to switch over to the shell macro, though I'm not sure which version is considered more "portable".

ArchLinux install instructions:

  1. Download PKGBUILD.git from pkgs/arch
  2. Rename PKGBUILD.git to PKGBUILD
  3. To build the package, run makepkg -scf which will create the .pkg.tar.xz file.
  4. To install the package, run sudo pacman -U <file.pkg.tar.xz>.

Backticks are not evaluated when building on ArchLinux with gnu make
4.2.1.  Use the shell macro instead to execute pkg-config.

Signed-off-by: Justin Charette <charetjc@gmail.com>
Signed-off-by: Justin Charette <charetjc@gmail.com>
@himdel
Copy link
Owner

himdel commented Jan 31, 2018

Perfect @boxofrox , thanks!

Closes #1

In the event @himdel starts tagging releases, a separate PKGBUILD can be created at that time to only install the latest release.

Is there any interest in tagged releases?

I usually change stuff only when I need something new, so I saw no reason to do so, but if people are actually using this... :)

I had issues with the backticks in the Makefile not evaluating, so there's a patch to switch over to the shell macro, though I'm not sure which version is considered more "portable".

I'd say GNU make is expected, you're on your own with any other make .. but this doesn't break gnu make so I have no issue with the change :).

@himdel himdel merged commit d3c4a23 into himdel:master Jan 31, 2018
@boxofrox
Copy link
Contributor Author

Is there any interest in tagged releases?

Not at this time. I stumbled across this tool while browsing user scripts for the Awesome window manager, and started tinkering with it myself. I just have a habit of planning ahead, so if tagged releases commence, then there's an easy path to support them with a package file.

Cheers

@himdel himdel mentioned this pull request Jun 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants