Arch PKGBUILD

I'm not sure if I'm the only Arch Linux user here, but if not I figured I would share this with the community.

I've created a PKGBUILD for Arch Linux that works for x86_64, armv7h and aarch64 architectures of Arch Linux. It does the following:

  • Downloads the current stable release for your arch
  • Installs the software to /usr/lib/channels-dvr
  • Creates the channels-dvr user/group
  • Creates the state dir /var/lib/channels-dvr (which is also the channels-dvr user's $HOME)
  • Symlinks Channels' data directory to /var/lib/channels-dvr

Since development on Channels happens so quickly, I'm only tracking the stable releases with this PKGBUILD.

The PKGBUILD is hosted on my Github repo. Hopefully this doesn't run afoul of any distribution issues, as I'm packaging the software in any way, just making it easier to download from official sources and integrate with Arch's native packager (to ease user creation and install it to a sensible location).

Since the stable version of the DVR server has been updated to 2019.11.19.2312, I have updated the PKGBUILD accordingly. It ought to build without any problems on x86_64, armv7h and aarch64 architectures; for best results I recommend building in a clean chroot.

Please let me know if you have any trouble with package.

Updated once again for stable, now at 2019.12.05.0128.

I'm also getting my Raspberry Pi 3B and Odroid C2 up for testing the armv7l and aarch64 packages as well on bare metal.