You are not logged in.
I found a nice utility for "fighting procrastination via the /etc/hosts file" on reddit earlier today and thought I'd check if it's in the AUR. It's not, so I thought it would be pretty simple to make a package for it.
Since I didn't really want to install the build dependencies and there were already precompiled binaries on the github page, I thought I'd make a binary package version, since there are often "foo" and "foo-git" packages, for example.
Anyways, it's a super basic pkgbuild that downloads the executable file, changes the permissions, and copies it to /usr/bin/. As it's my first package I thought I'd just post here to make sure it's okay.
Could someone take a look and make sure it's good to go? I've tested it on my system and it works fine.
The PKGBUILD is here
Thanks
EDIT: Looks like it's been updated since, still same idea, just new version number and sha256sum. Updated pkgbuild here
Last edited by padster (2015-09-18 02:14:44)
Offline
Use install in the package function, rather than mkdir (you can then remove the prepare function).
Offline
If you wish to use the precompiled binary, please append -bin to the package name.
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
Since I didn't really want to install the build dependencies
Why not? Not being critical, just curious. Personally, I'd always choose to build from source over a pre-compiled binary.
Offline
Use install in the package function, rather than mkdir (you can then remove the prepare function).
Thanks, I'll do that. The other one looks like more of an ad-blocker. This one makes you do a little extra work to unblock stuff you want blocked temporarily.
If you wish to use the precompiled binary, please append -bin to the package name.
Will-do.
padster wrote:Since I didn't really want to install the build dependencies
Why not? Not being critical, just curious. Personally, I'd always choose to build from source over a pre-compiled binary.
I just don't like having extra packages on my system. I'm not against compiling from source, I just figured if there was a version that I could just copy in without having to install a bunch of extra packages I'd rather do that than uninstall them afterwards.
Thanks, everyone, I'll update the PKGBUILD and post the new one here.
EDIT: Updated PKGBUILD
Last edited by padster (2015-09-18 19:37:53)
Offline
I just don't like having extra packages on my system. I'm not against compiling from source, I just figured if there was a version that I could just copy in without having to install a bunch of extra packages I'd rather do that than uninstall them afterwards.
https://wiki.archlinux.org/index.php/De … ean_Chroot
A simpler alternative is to use makepkg -Crs
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Online
I just don't like having extra packages on my system. I'm not against compiling from source, I just figured if there was a version that I could just copy in without having to install a bunch of extra packages I'd rather do that than uninstall them afterwards.
https://wiki.archlinux.org/index.php/De … ean_Chroot
A simpler alternative is to use makepkg -Crs
I've got my package up on the AUR now, I'll try this for making a -git version, thanks!
Offline