diff options
author | BuildTools | 2018-10-17 23:16:36 -0400 |
---|---|---|
committer | BuildTools | 2018-10-17 23:16:36 -0400 |
commit | be196d179e0a69a99f00b13ae6148e0fc86ffbbd (patch) | |
tree | d3ca2e56607f6a1ab633f2132cc5daf0870a691b /PKGBUILD | |
download | aur-mythhdhrrecorder-git.tar.gz |
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e81b04145cee --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Jameson Pugh <imntreal@gmail.com> + +pkgname=mythhdhrrecorder-git +pkgver=r29.66c216f +pkgrel=1 +pkgdesc="MythTV External Recorder for the SiliconDust HDHR tuners" +arch=('any') +url='https://github.com/garybuhrmaster/mythhdhrrecorder' +license=('Apache') +makedepends=('git') +source=("git+https://github.com/garybuhrmaster/mythhdhrrecorder.git") +sha256sums=('SKIP') +depends=('python-requests' 'python-systemd') +conflicts=('mythhdhrrecorder') +provides=('mythhdhrrecorder') + +pkgver() { + cd "mythhdhrrecorder" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "${srcdir}/mythhdhrrecorder" + install -d "${pkgdir}/usr/bin" + install -d "${pkgdir}/usr/share/licenses/mythhdhrrecorder" + install -d "${pkgdir}/usr/share/doc/mythhdhrrecorder" + install -m755 mythhdhrrecorder "${pkgdir}/usr/bin/" + install -m644 LICENSE "${pkgdir}/usr/share/licenses/mythhdhrrecorder/" + install -m644 README.md "${pkgdir}/usr/share/doc/mythhdhrrecorder/" +} + +# vim:set ts=2 sw=2 et: |