From 899e1e7bfc144334edc0d2ccd8de072e6910c23a Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 30 Jan 2013 23:30:14 -0200 Subject: hexchat-libre: adding new package for [pcr] repo --- pcr/hexchat-libre/PKGBUILD | 46 ++++++++++++++++++++++ pcr/hexchat-libre/hexchat.install | 8 ++++ pcr/hexchat-libre/no-firefox.patch | 16 ++++++++ pcr/hexchat-libre/remove-non-free-suggestion.patch | 12 ++++++ 4 files changed, 82 insertions(+) create mode 100644 pcr/hexchat-libre/PKGBUILD create mode 100644 pcr/hexchat-libre/hexchat.install create mode 100644 pcr/hexchat-libre/no-firefox.patch create mode 100644 pcr/hexchat-libre/remove-non-free-suggestion.patch (limited to 'pcr') diff --git a/pcr/hexchat-libre/PKGBUILD b/pcr/hexchat-libre/PKGBUILD new file mode 100644 index 000000000..26c353fb9 --- /dev/null +++ b/pcr/hexchat-libre/PKGBUILD @@ -0,0 +1,46 @@ +#Maintainer: TingPing tingping@tingping.se +#Maintainer (Parabola): André Silva + +_pkgname=hexchat +pkgname=hexchat-libre +pkgver=2.9.4 +pkgrel=2 +pkgdesc='A GTK+ based IRC client without non-free browser reference' +arch=('i686' 'x86_64' 'mips64el') +url='http://www.hexchat.org/' +license=('GPL') +options=('!libtool') +replaces=('hexchat') +conflicts=('hexchat') +provides=("hexchat=$pkgver") +depends=('gtk2' 'openssl' 'dbus-glib' 'hicolor-icon-theme' 'libnotify' 'libproxy') +makedepends=('perl' 'python2' 'tcl') +optdepends=('enchant: for spell check' + 'perl: for perl plugin' + 'tcl: for tcl plugin' + 'python2: for python plugin') +install="$_pkgname.install" +source=("https://github.com/downloads/hexchat/hexchat/hexchat-$pkgver.tar.xz" + 'remove-non-free-suggestion.patch' + 'no-firefox.patch') +md5sums=('5609cac7200fc91be57196501aaf07fa' + '978da875b73d9570134a1e87af54f94b' + '8934416304ed77161da0883d5b06e7b8') + +build() { + cd "$srcdir/$_pkgname-$pkgver" + patch -p1 -i "${srcdir}/remove-non-free-suggestion.patch" + patch -p1 -i "${srcdir}/no-firefox.patch" + mkdir m4 + chmod +x autogen.sh + ./autogen.sh + ./configure --prefix=/usr \ + --enable-openssl --enable-dbus --enable-nls --enable-ipv6 --enable-shm --enable-spell=static + make +} + +package() { + cd "$srcdir/$_pkgname-$pkgver" + make DESTDIR="$pkgdir" install + install -D -m644 "share/icons/hexchat.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/hexchat.svg" +} diff --git a/pcr/hexchat-libre/hexchat.install b/pcr/hexchat-libre/hexchat.install new file mode 100644 index 000000000..4b3df7505 --- /dev/null +++ b/pcr/hexchat-libre/hexchat.install @@ -0,0 +1,8 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + echo 'Read the FAQ if migrating from XChat - https://github.com/hexchat/hexchat/blob/master/share/doc/faq.md' +} + +post_upgrade() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} diff --git a/pcr/hexchat-libre/no-firefox.patch b/pcr/hexchat-libre/no-firefox.patch new file mode 100644 index 000000000..998ff4dca --- /dev/null +++ b/pcr/hexchat-libre/no-firefox.patch @@ -0,0 +1,16 @@ +diff -Nur hexchat-2.9.4.orig/src/fe-gtk/fe-gtk.c hexchat-2.9.4/src/fe-gtk/fe-gtk.c +--- hexchat-2.9.4.orig/src/fe-gtk/fe-gtk.c 2012-11-11 07:08:30.000000000 -0200 ++++ hexchat-2.9.4/src/fe-gtk/fe-gtk.c 2013-01-30 23:06:38.670239405 -0200 +@@ -1039,8 +1039,10 @@ + return; + } + +- /* everything failed, what now? just try firefox */ +- if (try_browser ("firefox", NULL, url)) ++ /* everything failed, what now? just try iceweasel or icecat */ ++ if (try_browser ("iceweasel", NULL, url)) ++ return; ++ if (try_browser ("icecat", NULL, url)) + return; + + /* fresh out of ideas... */ diff --git a/pcr/hexchat-libre/remove-non-free-suggestion.patch b/pcr/hexchat-libre/remove-non-free-suggestion.patch new file mode 100644 index 000000000..a83a71f17 --- /dev/null +++ b/pcr/hexchat-libre/remove-non-free-suggestion.patch @@ -0,0 +1,12 @@ +diff -Nur hexchat-2.9.4.orig/src/common/hexchat.c hexchat-2.9.4/src/common/hexchat.c +--- hexchat-2.9.4.orig/src/common/hexchat.c 2012-11-11 07:08:30.000000000 -0200 ++++ hexchat-2.9.4/src/common/hexchat.c 2013-01-30 23:02:12.884864062 -0200 +@@ -618,7 +618,7 @@ + "NAME WII\n" "CMD quote WHOIS %2 %2\n\n"; + + static char defaultconf_urlhandlers[] = +- "NAME Open Link in Opera\n" "CMD !opera -remote 'openURL(%s)'\n\n"; ++ "" ""; + + #ifdef USE_SIGACTION + /* Close and open log files on SIGUSR1. Usefull for log rotating */ -- cgit v1.2.3-54-g00ecf From 3ab4ff0273a4c345fdbc3903082d9de0fdd2f198 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Fri, 1 Feb 2013 13:26:18 -0200 Subject: moving timekpr to [pcr] repo --- ...nitializes_lastNotified_before_it_is_used.patch | 10 +++ pcr/timekpr/PKGBUILD | 74 ++++++++++++++++++++++ pcr/timekpr/timekpr.install | 24 +++++++ pcr/timekpr/timekprd.sh | 36 +++++++++++ ...nitializes_lastNotified_before_it_is_used.patch | 10 --- ~emulatorman/timekpr/PKGBUILD | 74 ---------------------- ~emulatorman/timekpr/timekpr.install | 24 ------- ~emulatorman/timekpr/timekprd.sh | 36 ----------- 8 files changed, 144 insertions(+), 144 deletions(-) create mode 100644 pcr/timekpr/Initializes_lastNotified_before_it_is_used.patch create mode 100644 pcr/timekpr/PKGBUILD create mode 100644 pcr/timekpr/timekpr.install create mode 100755 pcr/timekpr/timekprd.sh delete mode 100644 ~emulatorman/timekpr/Initializes_lastNotified_before_it_is_used.patch delete mode 100644 ~emulatorman/timekpr/PKGBUILD delete mode 100644 ~emulatorman/timekpr/timekpr.install delete mode 100755 ~emulatorman/timekpr/timekprd.sh (limited to 'pcr') diff --git a/pcr/timekpr/Initializes_lastNotified_before_it_is_used.patch b/pcr/timekpr/Initializes_lastNotified_before_it_is_used.patch new file mode 100644 index 000000000..870a2670a --- /dev/null +++ b/pcr/timekpr/Initializes_lastNotified_before_it_is_used.patch @@ -0,0 +1,10 @@ +--- a/timekpr-client.py 2011-04-15 13:17:59.000000000 +0200 ++++ b/timekpr-client.py 2011-04-15 13:19:06.000000000 +0200 +@@ -40,6 +40,7 @@ + self.conffile = self.VAR['TIMEKPRDIR'] + '/' + self.username + self.limits, self.bfrom, self.bto = readusersettings(self.username, self.conffile) + self.timer = None ++ self.lastNotified = datetime.datetime.fromtimestamp(0); + self.checkLimits() + #Add a gobject loop to check limits: + self.timer = gobject.timeout_add(self.checkInterval * 1000, self.checkLimits) diff --git a/pcr/timekpr/PKGBUILD b/pcr/timekpr/PKGBUILD new file mode 100644 index 000000000..2196dd275 --- /dev/null +++ b/pcr/timekpr/PKGBUILD @@ -0,0 +1,74 @@ +# Contributor: SanskritFritz (gmail) + +pkgname=timekpr +pkgver=0.3.2 +pkgrel=8 +pkgdesc="Control the computer usage of your user accounts. You can limit their daily usage based on a timed access duration and configure periods of day when they can log in." +arch=('i686' 'x86_64') +url=https://launchpad.net/timekpr +license=('GPL') +depends=('python2') +source=(http://launchpad.net/$pkgname/trunk/$pkgver/+download/${pkgname}_${pkgver}~ppa1~ubuntu2.tar.gz + timekprd.sh + Initializes_lastNotified_before_it_is_used.patch) +install='timekpr.install' +md5sums=('0626ee6b6b6d218dfdd6e79331f789a2' + 'ab37e469034200c19b46a31d586bfe3e' + '23848ef2578571d7dc4871fbd15f41ed') + + +build() { + cd ${srcdir}/stable/gui/client + # https://bugs.launchpad.net/timekpr/+bug/761647 + patch -p1 < ${srcdir}/Initializes_lastNotified_before_it_is_used.patch +} + +package() { + install -dm755 $pkgdir/etc/{rc.d,timekpr,logrotate.d,xdg/autostart} + install -dm755 $pkgdir/usr/{bin,share/{doc/timekpr,timekpr,python-support/timekpr,pixmaps,applications,man/man8}} + install -dm755 $pkgdir/usr/share/locale/{da,de,fr,hu,nb,sv,fi}/LC_MESSAGES + install -dm755 $pkgdir/var/lib/timekpr + + cd $srcdir/stable + install -m644 etc/timekpr.conf $pkgdir/etc/ + install -m644 etc/logrotate.d/timekpr $pkgdir/etc/logrotate.d/ + sed -i "s/python/python2/" timekpr + install -m755 timekpr $pkgdir/usr/bin/ + sed -i "s/python/python2/" timekpr-gui + install -m755 timekpr-gui $pkgdir/usr/bin/ + sed -i "s/python/python2/" timekpr-client + install -m755 timekpr-client $pkgdir/usr/bin/ + install -m755 timekprpam.py $pkgdir/usr/share/python-support/timekpr/ + install -m755 timekpr.py $pkgdir/usr/share/python-support/timekpr/ + install -m755 timekpr-gui.py $pkgdir/usr/share/python-support/timekpr/ + install -m755 gui/client/timekpr-client.py $pkgdir/usr/share/python-support/timekpr/ + install -m755 timekprpam.py $pkgdir/usr/share/python-support/timekpr/ + install -m755 timekprcommon.py $pkgdir/usr/share/python-support/timekpr/ + install -m644 gui/padlock-green.png $pkgdir/usr/share/timekpr/ + install -m644 gui/padlock-red.png $pkgdir/usr/share/timekpr/ + install -m644 gui/timekpr.glade $pkgdir/usr/share/timekpr/ + install -m644 gui/timekpr100x100.png $pkgdir/usr/share/timekpr/ + install -m644 gui/timekpr32x32.png $pkgdir/usr/share/timekpr/ + install -m644 gui/timekpr.xpm $pkgdir/usr/share/pixmaps/ + install -m644 debian/timekpr.desktop $pkgdir/usr/share/applications/ + install -m644 debian/timekpr-client.desktop $pkgdir/etc/xdg/autostart + install -m644 locale/da/LC_MESSAGES/timekpr.mo $pkgdir/usr/share/locale/da/LC_MESSAGES/ + install -m644 locale/de/LC_MESSAGES/timekpr.mo $pkgdir/usr/share/locale/de/LC_MESSAGES/ + install -m644 locale/fr/LC_MESSAGES/timekpr.mo $pkgdir/usr/share/locale/fr/LC_MESSAGES/ + install -m644 locale/hu/LC_MESSAGES/timekpr.mo $pkgdir/usr/share/locale/hu/LC_MESSAGES/ + install -m644 locale/nb/LC_MESSAGES/timekpr.mo $pkgdir/usr/share/locale/nb/LC_MESSAGES/ + install -m644 locale/sv/LC_MESSAGES/timekpr.mo $pkgdir/usr/share/locale/sv/LC_MESSAGES/ + install -m644 locale/fi/LC_MESSAGES/timekpr.mo $pkgdir/usr/share/locale/fi/LC_MESSAGES/ + install -m644 TODO.txt $pkgdir/usr/share/doc/timekpr + install -m644 README.txt $pkgdir/usr/share/doc/timekpr + install -m644 COPYRIGHT.txt $pkgdir/usr/share/doc/timekpr + install -m644 CONTRIBUTORS.txt $pkgdir/usr/share/doc/timekpr + install -m644 debian/changelog $pkgdir/usr/share/doc/timekpr + install -m644 doc/timekpr.8 $pkgdir/usr/share/man/man8 + + install -m755 debian/timekpr.postrm $pkgdir/usr/bin/ + install -m755 debian/timekpr.postinst $pkgdir/usr/bin/ + + cd $srcdir + install -m755 timekprd.sh $pkgdir/etc/rc.d/timekprd +} diff --git a/pcr/timekpr/timekpr.install b/pcr/timekpr/timekpr.install new file mode 100644 index 000000000..b01769c48 --- /dev/null +++ b/pcr/timekpr/timekpr.install @@ -0,0 +1,24 @@ + +post_install() { + /usr/bin/timekpr.postinst + + echo "Your su command (gksu|gksudo|kdesu|kdesudo etc) for starting timekpr-gui as root: " + read su_command; + sed -i "s/gksu/${su_command}/" "/usr/share/applications/timekpr.desktop" + + echo + echo "Start the timekpr daemon with '/etc/rc.d/timekprd start'" + echo "For permanent use put 'timekprd' into your DAEMONS array." +} + +post_upgrade() { + post_install +} + +pre_remove() { + /usr/bin/timekpr.postrm purge +} + +post_remove() { + echo "Remove the timekprd entry from your DAEMONS array." +} diff --git a/pcr/timekpr/timekprd.sh b/pcr/timekpr/timekprd.sh new file mode 100755 index 000000000..19e4a3af4 --- /dev/null +++ b/pcr/timekpr/timekprd.sh @@ -0,0 +1,36 @@ +#!/bin/bash + +. /etc/rc.conf +. /etc/rc.d/functions + +PID=`pidof -x -o %PPID /etc/rc.d/timekprd` +case "$1" in + start) + stat_busy "Starting timekpr" + [ -z "$PID" ] && /usr/bin/timekpr & + if [ $? -gt 0 ]; then + stat_fail + else + add_daemon timekprd + stat_done + fi + ;; + stop) + stat_busy "Stopping timekpr" + [ ! -z "$PID" ] && killall --user root timekpr &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon timekprd + stat_done + fi + ;; + restart) + $0 stop + sleep 3 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/~emulatorman/timekpr/Initializes_lastNotified_before_it_is_used.patch b/~emulatorman/timekpr/Initializes_lastNotified_before_it_is_used.patch deleted file mode 100644 index 870a2670a..000000000 --- a/~emulatorman/timekpr/Initializes_lastNotified_before_it_is_used.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/timekpr-client.py 2011-04-15 13:17:59.000000000 +0200 -+++ b/timekpr-client.py 2011-04-15 13:19:06.000000000 +0200 -@@ -40,6 +40,7 @@ - self.conffile = self.VAR['TIMEKPRDIR'] + '/' + self.username - self.limits, self.bfrom, self.bto = readusersettings(self.username, self.conffile) - self.timer = None -+ self.lastNotified = datetime.datetime.fromtimestamp(0); - self.checkLimits() - #Add a gobject loop to check limits: - self.timer = gobject.timeout_add(self.checkInterval * 1000, self.checkLimits) diff --git a/~emulatorman/timekpr/PKGBUILD b/~emulatorman/timekpr/PKGBUILD deleted file mode 100644 index 2196dd275..000000000 --- a/~emulatorman/timekpr/PKGBUILD +++ /dev/null @@ -1,74 +0,0 @@ -# Contributor: SanskritFritz (gmail) - -pkgname=timekpr -pkgver=0.3.2 -pkgrel=8 -pkgdesc="Control the computer usage of your user accounts. You can limit their daily usage based on a timed access duration and configure periods of day when they can log in." -arch=('i686' 'x86_64') -url=https://launchpad.net/timekpr -license=('GPL') -depends=('python2') -source=(http://launchpad.net/$pkgname/trunk/$pkgver/+download/${pkgname}_${pkgver}~ppa1~ubuntu2.tar.gz - timekprd.sh - Initializes_lastNotified_before_it_is_used.patch) -install='timekpr.install' -md5sums=('0626ee6b6b6d218dfdd6e79331f789a2' - 'ab37e469034200c19b46a31d586bfe3e' - '23848ef2578571d7dc4871fbd15f41ed') - - -build() { - cd ${srcdir}/stable/gui/client - # https://bugs.launchpad.net/timekpr/+bug/761647 - patch -p1 < ${srcdir}/Initializes_lastNotified_before_it_is_used.patch -} - -package() { - install -dm755 $pkgdir/etc/{rc.d,timekpr,logrotate.d,xdg/autostart} - install -dm755 $pkgdir/usr/{bin,share/{doc/timekpr,timekpr,python-support/timekpr,pixmaps,applications,man/man8}} - install -dm755 $pkgdir/usr/share/locale/{da,de,fr,hu,nb,sv,fi}/LC_MESSAGES - install -dm755 $pkgdir/var/lib/timekpr - - cd $srcdir/stable - install -m644 etc/timekpr.conf $pkgdir/etc/ - install -m644 etc/logrotate.d/timekpr $pkgdir/etc/logrotate.d/ - sed -i "s/python/python2/" timekpr - install -m755 timekpr $pkgdir/usr/bin/ - sed -i "s/python/python2/" timekpr-gui - install -m755 timekpr-gui $pkgdir/usr/bin/ - sed -i "s/python/python2/" timekpr-client - install -m755 timekpr-client $pkgdir/usr/bin/ - install -m755 timekprpam.py $pkgdir/usr/share/python-support/timekpr/ - install -m755 timekpr.py $pkgdir/usr/share/python-support/timekpr/ - install -m755 timekpr-gui.py $pkgdir/usr/share/python-support/timekpr/ - install -m755 gui/client/timekpr-client.py $pkgdir/usr/share/python-support/timekpr/ - install -m755 timekprpam.py $pkgdir/usr/share/python-support/timekpr/ - install -m755 timekprcommon.py $pkgdir/usr/share/python-support/timekpr/ - install -m644 gui/padlock-green.png $pkgdir/usr/share/timekpr/ - install -m644 gui/padlock-red.png $pkgdir/usr/share/timekpr/ - install -m644 gui/timekpr.glade $pkgdir/usr/share/timekpr/ - install -m644 gui/timekpr100x100.png $pkgdir/usr/share/timekpr/ - install -m644 gui/timekpr32x32.png $pkgdir/usr/share/timekpr/ - install -m644 gui/timekpr.xpm $pkgdir/usr/share/pixmaps/ - install -m644 debian/timekpr.desktop $pkgdir/usr/share/applications/ - install -m644 debian/timekpr-client.desktop $pkgdir/etc/xdg/autostart - install -m644 locale/da/LC_MESSAGES/timekpr.mo $pkgdir/usr/share/locale/da/LC_MESSAGES/ - install -m644 locale/de/LC_MESSAGES/timekpr.mo $pkgdir/usr/share/locale/de/LC_MESSAGES/ - install -m644 locale/fr/LC_MESSAGES/timekpr.mo $pkgdir/usr/share/locale/fr/LC_MESSAGES/ - install -m644 locale/hu/LC_MESSAGES/timekpr.mo $pkgdir/usr/share/locale/hu/LC_MESSAGES/ - install -m644 locale/nb/LC_MESSAGES/timekpr.mo $pkgdir/usr/share/locale/nb/LC_MESSAGES/ - install -m644 locale/sv/LC_MESSAGES/timekpr.mo $pkgdir/usr/share/locale/sv/LC_MESSAGES/ - install -m644 locale/fi/LC_MESSAGES/timekpr.mo $pkgdir/usr/share/locale/fi/LC_MESSAGES/ - install -m644 TODO.txt $pkgdir/usr/share/doc/timekpr - install -m644 README.txt $pkgdir/usr/share/doc/timekpr - install -m644 COPYRIGHT.txt $pkgdir/usr/share/doc/timekpr - install -m644 CONTRIBUTORS.txt $pkgdir/usr/share/doc/timekpr - install -m644 debian/changelog $pkgdir/usr/share/doc/timekpr - install -m644 doc/timekpr.8 $pkgdir/usr/share/man/man8 - - install -m755 debian/timekpr.postrm $pkgdir/usr/bin/ - install -m755 debian/timekpr.postinst $pkgdir/usr/bin/ - - cd $srcdir - install -m755 timekprd.sh $pkgdir/etc/rc.d/timekprd -} diff --git a/~emulatorman/timekpr/timekpr.install b/~emulatorman/timekpr/timekpr.install deleted file mode 100644 index b01769c48..000000000 --- a/~emulatorman/timekpr/timekpr.install +++ /dev/null @@ -1,24 +0,0 @@ - -post_install() { - /usr/bin/timekpr.postinst - - echo "Your su command (gksu|gksudo|kdesu|kdesudo etc) for starting timekpr-gui as root: " - read su_command; - sed -i "s/gksu/${su_command}/" "/usr/share/applications/timekpr.desktop" - - echo - echo "Start the timekpr daemon with '/etc/rc.d/timekprd start'" - echo "For permanent use put 'timekprd' into your DAEMONS array." -} - -post_upgrade() { - post_install -} - -pre_remove() { - /usr/bin/timekpr.postrm purge -} - -post_remove() { - echo "Remove the timekprd entry from your DAEMONS array." -} diff --git a/~emulatorman/timekpr/timekprd.sh b/~emulatorman/timekpr/timekprd.sh deleted file mode 100755 index 19e4a3af4..000000000 --- a/~emulatorman/timekpr/timekprd.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -PID=`pidof -x -o %PPID /etc/rc.d/timekprd` -case "$1" in - start) - stat_busy "Starting timekpr" - [ -z "$PID" ] && /usr/bin/timekpr & - if [ $? -gt 0 ]; then - stat_fail - else - add_daemon timekprd - stat_done - fi - ;; - stop) - stat_busy "Stopping timekpr" - [ ! -z "$PID" ] && killall --user root timekpr &> /dev/null - if [ $? -gt 0 ]; then - stat_fail - else - rm_daemon timekprd - stat_done - fi - ;; - restart) - $0 stop - sleep 3 - $0 start - ;; - *) - echo "usage: $0 {start|stop|restart}" -esac -exit 0 -- cgit v1.2.3-54-g00ecf From 984519b53d8ed46486460f632fbcf52c39ee6b57 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Fri, 1 Feb 2013 16:23:26 -0200 Subject: timekpr-0.3.2-9: updating revision * Add timekpr.service for systemd --- pcr/timekpr/PKGBUILD | 7 ++++++- pcr/timekpr/timekpr.service | 9 +++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 pcr/timekpr/timekpr.service (limited to 'pcr') diff --git a/pcr/timekpr/PKGBUILD b/pcr/timekpr/PKGBUILD index 2196dd275..4d2af3bfd 100644 --- a/pcr/timekpr/PKGBUILD +++ b/pcr/timekpr/PKGBUILD @@ -2,7 +2,7 @@ pkgname=timekpr pkgver=0.3.2 -pkgrel=8 +pkgrel=9 pkgdesc="Control the computer usage of your user accounts. You can limit their daily usage based on a timed access duration and configure periods of day when they can log in." arch=('i686' 'x86_64') url=https://launchpad.net/timekpr @@ -10,10 +10,13 @@ license=('GPL') depends=('python2') source=(http://launchpad.net/$pkgname/trunk/$pkgver/+download/${pkgname}_${pkgver}~ppa1~ubuntu2.tar.gz timekprd.sh + timekpr.service Initializes_lastNotified_before_it_is_used.patch) +backup=('etc/timekpr.conf') install='timekpr.install' md5sums=('0626ee6b6b6d218dfdd6e79331f789a2' 'ab37e469034200c19b46a31d586bfe3e' + '9e88ee02b5b8cb6b5e0730e3847c4217' '23848ef2578571d7dc4871fbd15f41ed') @@ -71,4 +74,6 @@ package() { cd $srcdir install -m755 timekprd.sh $pkgdir/etc/rc.d/timekprd + + install -Dm0644 "${srcdir}/timekpr.service" "${pkgdir}/usr/lib/systemd/system/timekpr.service" } diff --git a/pcr/timekpr/timekpr.service b/pcr/timekpr/timekpr.service new file mode 100644 index 000000000..b3ea6e211 --- /dev/null +++ b/pcr/timekpr/timekpr.service @@ -0,0 +1,9 @@ +[Unit] +Description=Keep control of computer usage +After=syslog.target systemd-user-sessions.service + +[Service] +ExecStart=/usr/bin/timekpr + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3-54-g00ecf