Skip to content
Snippets Groups Projects
Commit 0f9a67b8 authored by Lukas Fleischer's avatar Lukas Fleischer
Browse files

systemd-{sysusers,tmpfiles} hooks cleanup.

parent 7d5c56b3
No related branches found
Tags 1-0.9.4.c-4
No related merge requests found
......@@ -4,7 +4,7 @@
pkgname=lirc
_pkgver=0.9.4c
[[ $_pkgver =~ [a-z]$ ]] && pkgver="${_pkgver:0:-1}.${_pkgver: -1}" || pkgver="$_pkgver"
pkgrel=3
pkgrel=4
epoch=1
pkgdesc="Linux Infrared Remote Control utilities"
arch=('i686' 'x86_64')
......@@ -17,7 +17,6 @@ provides=('lirc-utils')
conflicts=('lirc-utils')
replaces=('lirc-utils')
backup=('etc/lirc/lirc_options.conf' 'etc/lirc/lircd.conf' 'etc/lirc/lircmd.conf')
install=lirc.install
source=("http://prdownloads.sourceforge.net/${pkgname}/${pkgname}-${_pkgver}.tar.bz2"
0005-lib-curl_poll.h-Ensure-build-on-unconfiguredclients.patch
0006-lirc.pc-Fix-bad-library-specification-236.patch
......
post_install() {
systemd-tmpfiles --create lirc.conf
}
post_upgrade() {
post_install
if [[ "$(vercmp $2 1:0.9.1-1)" -lt 0 ]]; then
echo ':: lirc.service and lircm.service have been replaced'
echo ' by the upstream unit files lircd.service and'
echo ' lircmd.service.'
fi
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment