summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--community/freeorion/PKGBUILD8
-rw-r--r--community/gimp-ufraw/PKGBUILD36
-rw-r--r--community/gimp-ufraw/gimp-ufraw.install2
-rw-r--r--community/google-glog/PKGBUILD7
-rw-r--r--community/libmemcached/PKGBUILD8
-rw-r--r--community/librime/PKGBUILD4
-rw-r--r--community/muffin/PKGBUILD18
-rw-r--r--community/partclone/PKGBUILD5
-rw-r--r--community/qtcreator/PKGBUILD8
-rw-r--r--community/rtl-sdr/PKGBUILD6
-rw-r--r--community/sarg/PKGBUILD8
-rw-r--r--community/squid/PKGBUILD8
-rw-r--r--community/tiled-qt/PKGBUILD31
-rw-r--r--extra/cairo/PKGBUILD16
-rw-r--r--extra/libchewing/PKGBUILD12
-rw-r--r--extra/ntfs-3g_ntfsprogs/PKGBUILD11
-rw-r--r--extra/phonon-gstreamer/PKGBUILD6
-rw-r--r--extra/pkgfile/PKGBUILD37
-rw-r--r--extra/pkgfile/pkgfile.install18
-rw-r--r--extra/racket/PKGBUILD8
-rw-r--r--extra/scim-chewing/PKGBUILD10
-rw-r--r--extra/testdisk/PKGBUILD4
-rw-r--r--extra/xf86-input-synaptics/PKGBUILD8
-rw-r--r--libre/calibre-libre/PKGBUILD4
-rw-r--r--libre/claws-mail-libre/PKGBUILD10
-rw-r--r--libre/linux-libre-lts/PKGBUILD10
-rw-r--r--libre/linux-libre-lts/config.i6862
-rw-r--r--libre/linux-libre-lts/config.x86_642
-rw-r--r--libre/linux-libre/PKGBUILD4
-rw-r--r--pcr/timekpr/Initializes_lastNotified_before_it_is_used.patch10
-rw-r--r--pcr/timekpr/PKGBUILD79
-rw-r--r--pcr/timekpr/timekpr.install24
-rw-r--r--pcr/timekpr/timekpr.service9
-rwxr-xr-xpcr/timekpr/timekprd.sh36
34 files changed, 335 insertions, 134 deletions
diff --git a/community/freeorion/PKGBUILD b/community/freeorion/PKGBUILD
index 4a23823a8..09b6154c9 100644
--- a/community/freeorion/PKGBUILD
+++ b/community/freeorion/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 83248 2013-01-28 16:49:34Z stephane $
+# $Id: PKGBUILD 83429 2013-01-31 23:07:12Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: guini <sidtrun@googlemail.com>
# Contributor: Forrest Loomis <cybercyst _ at _ gmail dot com>
@@ -7,7 +7,7 @@
pkgname=freeorion
pkgver=0.4.1
-pkgrel=5
+pkgrel=6
pkgdesc='Turn-based galactic conquest game inspired by Master of Orion'
arch=('x86_64' 'i686')
url='http://www.freeorion.org/'
@@ -38,10 +38,6 @@ build() {
cd "$srcdir"
gendesk -n
- # Sometimes the latest revision works, sometimes it's the "release" revision that works.
- # Sometimes the release tarball works, sometimes not. Sometimes there is a release tarball, sometimes not.
- # Search for "Arch" in the sf.net/projects/freeorion issue tracker to see a list of past issues.
-
#msg2 'Looking up revision from version number...'
#_releaserevision=`curl --progress-bar -o- ${url}index.php/Compile | grep "$pkgver" | cut -d':' -f2 | cut -d' ' -f10 | tail -1`
#msg2 "The revision for the latest official release is $_releaserevision"
diff --git a/community/gimp-ufraw/PKGBUILD b/community/gimp-ufraw/PKGBUILD
index b47b112eb..c6642e188 100644
--- a/community/gimp-ufraw/PKGBUILD
+++ b/community/gimp-ufraw/PKGBUILD
@@ -1,34 +1,42 @@
-# $Id: PKGBUILD 83146 2013-01-27 16:15:51Z pierre $
-# Maintainer: Tobias Kieslich <tobias@archlinux.org>
+# $Id: PKGBUILD 83473 2013-02-01 16:28:18Z arodseth $
+# Maintainer: Alexander Rødseth <rodseth@gmail.com>
+# Contributor: Tobias Kieslich <tobias@archlinux.org>
+# Contributor: Martin Sugioarto <nakal@web.de>
pkgname=gimp-ufraw
pkgver=0.18
-pkgrel=5
-pkgdesc="Standalone or gimp plugin converter for raw files"
-url="http://ufraw.sourceforge.net/"
-arch=('i686' 'x86_64')
+pkgrel=6
+pkgdesc='Standalone or gimp plugin converter for raw files'
+url='http://ufraw.sourceforge.net/'
+arch=('x86_64' 'i686')
license=('GPL')
-depends=('gtkimageview' 'exiv2' 'lcms' 'bzip2' 'desktop-file-utils')
+depends=('gtkimageview' 'exiv2' 'lcms' 'bzip2' 'desktop-file-utils' 'cfitsio' 'lensfun')
makedepends=('gimp' 'cinepaint')
optdepends=('gimp: to use the gimp import plugin for raw images'
'cinepaint: to use the cinepaint import plugin for raw images')
install=gimp-ufraw.install
-source=(http://downloads.sourceforge.net/ufraw/ufraw-${pkgver}.tar.gz)
-sha1sums=('41c9ad7aa7f1cbb63a6b0b330b3599b18a7e8cd2')
+source=("http://downloads.sourceforge.net/ufraw/ufraw-$pkgver.tar.gz")
+sha256sums=('24fe739c61e9e14de1900008477c8662553e93427569c1d595556d440e6b9205')
build() {
- cd "${srcdir}/ufraw-${pkgver}"
+ cd "$srcdir/ufraw-$pkgver"
./configure --prefix=/usr \
--enable-extras \
--enable-mime \
- --enable-openmp
+ --enable-openmp \
+ --with-gimp \
+ --with-cinepaint \
+ --enable-contrast
sed -i "s/-ffast-math -fomit-frame-pointer -W -Wall -O3/${CFLAGS}/" Makefile
make
}
package() {
- cd "${srcdir}/ufraw-${pkgver}"
- make DESTDIR="${pkgdir}" install
- rm -f "${pkgdir}/usr/bin/dcraw"
+ cd "$srcdir/ufraw-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+ rm -f "$pkgdir/usr/bin/dcraw"
}
+
+# vim:set ts=2 sw=2 et:
diff --git a/community/gimp-ufraw/gimp-ufraw.install b/community/gimp-ufraw/gimp-ufraw.install
index 80312d4a6..3b232eeb7 100644
--- a/community/gimp-ufraw/gimp-ufraw.install
+++ b/community/gimp-ufraw/gimp-ufraw.install
@@ -9,3 +9,5 @@ post_upgrade() {
post_remove() {
update-desktop-database -q
}
+
+# vim:set ts=2 sw=2 et:
diff --git a/community/google-glog/PKGBUILD b/community/google-glog/PKGBUILD
index f30efef3c..7ca4be213 100644
--- a/community/google-glog/PKGBUILD
+++ b/community/google-glog/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 80554 2012-11-25 02:18:10Z fyan $
+# $Id: PKGBUILD 83436 2013-02-01 07:03:30Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: Ian Yang <doit.ian@gmail.com>
pkgname=google-glog
-pkgver=0.3.2
+pkgver=0.3.3
pkgrel=1
pkgdesc="Logging library for C++"
arch=('i686' 'x86_64')
@@ -13,7 +13,6 @@ depends=('gcc-libs')
makedepends=('make' 'gcc')
options=('!libtool')
source=("http://google-glog.googlecode.com/files/glog-${pkgver}.tar.gz")
-md5sums=('897fbff90d91ea2b6d6e78c8cea641cc')
build() {
cd "$srcdir/glog-${pkgver}"
@@ -31,3 +30,5 @@ package() {
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
+
+md5sums=('a6fd2c22f8996846e34c763422717c18')
diff --git a/community/libmemcached/PKGBUILD b/community/libmemcached/PKGBUILD
index d326190b2..6513b4746 100644
--- a/community/libmemcached/PKGBUILD
+++ b/community/libmemcached/PKGBUILD
@@ -1,18 +1,18 @@
-# $Id: PKGBUILD 81365 2012-12-18 19:53:30Z foutrelis $
+# $Id: PKGBUILD 83452 2013-02-01 11:36:01Z foutrelis $
# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
pkgname=libmemcached
-pkgver=1.0.15
+pkgver=1.0.16
pkgrel=1
pkgdesc="C and C++ client library to the memcached server"
arch=('i686' 'x86_64')
url="http://libmemcached.org/"
license=('GPL')
depends=('glibc' 'libsasl' 'libevent')
-makedepends=('perl' 'memcached')
+makedepends=('perl' 'memcached' 'python-sphinx')
options=('!libtool')
source=(http://launchpad.net/$pkgname/1.0/$pkgver/+download/$pkgname-$pkgver.tar.gz)
-sha256sums=('dd7e9560029835bddf761a5b4c2339d9e5c7374558659b6c11b2c95e7d3a4325')
+sha256sums=('2215d1766bff02b75403291d3d870fcd7d0735e4d018657d4d74fc44e92bdbfc')
build() {
cd "$srcdir/$pkgname-$pkgver"
diff --git a/community/librime/PKGBUILD b/community/librime/PKGBUILD
index 800c927d0..54e6de246 100644
--- a/community/librime/PKGBUILD
+++ b/community/librime/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 83256 2013-01-28 16:49:43Z stephane $
+# $Id: PKGBUILD 83438 2013-02-01 09:04:01Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: GONG Chen <chen dot sst at gmail dot com>
# Contributor: 網軍總司令
pkgname=librime
pkgver=0.9.7
-pkgrel=4
+pkgrel=5
pkgdesc="Rime input method engine"
arch=('i686' 'x86_64')
url="http://code.google.com/p/rimeime/"
diff --git a/community/muffin/PKGBUILD b/community/muffin/PKGBUILD
index 78c900e8f..e974e7a99 100644
--- a/community/muffin/PKGBUILD
+++ b/community/muffin/PKGBUILD
@@ -1,24 +1,30 @@
-# $Id: PKGBUILD 83411 2013-01-31 17:16:00Z bpiotrowski $
+# $Id: PKGBUILD 83448 2013-02-01 10:03:42Z foutrelis $
+# Contributor: Adam Hani Schakaki <adam@schakaki.net>
+# Contributor: Ner0
pkgname=muffin
pkgver=1.1.2
-pkgrel=1
+pkgrel=2
pkgdesc="Cinnamon window manager based on Mutter"
arch=('i686' 'x86_64')
url="https://github.com/linuxmint/muffin"
license=('GPL')
-depends=('clutter' 'gconf' 'gobject-introspection' 'gsettings-desktop-schemas' 'libcanberra' 'libxxf86vm' 'startup-notification' 'zenity' 'dconf')
-makedepends=('libltdl' 'intltool' 'gnome-doc-utils' 'pkg-config')
+depends=('libx11' 'libsm' 'clutter' 'gconf' 'gobject-introspection' 'gsettings-desktop-schemas' 'libcanberra' 'libxxf86vm' 'startup-notification' 'zenity' 'dconf')
+makedepends=('libltdl' 'intltool' 'gnome-doc-utils' 'gnome-common' 'libice')
+provides=('muffin-wm')
+conflicts=('muffin-wm')
+replaces=('muffin-wm')
options=('!libtool' '!emptydirs')
install=$pkgname.install
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/muffin/tarball/$pkgver")
+md5sums=('0950fa5c00a165c7fed73b0898d072d5')
build() {
cd linuxmint-muffin-*
autoreconf -vfi
PYTHON=python2 ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/muffin --localstatedir=/var --disable-static --disable-schemas-compile
- make ${MAKEFLAGS}
+ make
}
package() {
@@ -26,6 +32,4 @@ package() {
make DESTDIR="$pkgdir/" install
}
-md5sums=('0950fa5c00a165c7fed73b0898d072d5')
-
# vim:set ts=2 sw=2 et:
diff --git a/community/partclone/PKGBUILD b/community/partclone/PKGBUILD
index f8fee5daa..4f51db0de 100644
--- a/community/partclone/PKGBUILD
+++ b/community/partclone/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 76351 2012-09-16 13:33:43Z jsteel $
+# $Id: PKGBUILD 83480 2013-02-01 21:35:48Z eric $
# Maintainer: Jonathan Steel <mail at jsteel dot org>
# Contrinutor: Dan Serban
# Contributor: Franz Burgmann
@@ -7,7 +7,7 @@
pkgname=partclone
pkgver=0.2.48
-pkgrel=4
+pkgrel=5
pkgdesc="Back up and restore used-blocks of a partition"
arch=('i686' 'x86_64')
url="http://partclone.org"
@@ -30,4 +30,3 @@ package() {
make DESTDIR="$pkgdir" install
}
-
diff --git a/community/qtcreator/PKGBUILD b/community/qtcreator/PKGBUILD
index 02be3a67a..72960ba22 100644
--- a/community/qtcreator/PKGBUILD
+++ b/community/qtcreator/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 81404 2012-12-19 17:43:39Z svenstaro $
+# $Id: PKGBUILD 83450 2013-02-01 10:16:55Z svenstaro $
# Maintainer: Imanol Celaya <ornitorrincos@archlinux-es.org>
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com>
@@ -7,8 +7,8 @@
# Contributor: delor <bartekpiech gmail com>
pkgname="qtcreator"
-pkgver=2.6.1
-_pkgver=2.6.1
+pkgver=2.6.2
+_pkgver=2.6.2
pkgrel=1
pkgdesc='Lightweight, cross-platform integrated development environment'
arch=('i686' 'x86_64')
@@ -28,7 +28,7 @@ optdepends=('qt-doc: for the integrated Qt documentation'
install=qtcreator.install
source=("http://origin.releases.qt-project.org/qtcreator/${_pkgver}/qt-creator-${_pkgver}-src.tar.gz"
'qtcreator.desktop')
-md5sums=('e4d6373335a80ddf7ffcacf92442e43c'
+md5sums=('4700deb89e8cf92239015d7d70f0dcdd'
'82888d4be900e7833d768050a135cd37')
build() {
diff --git a/community/rtl-sdr/PKGBUILD b/community/rtl-sdr/PKGBUILD
index 5f87ac170..0fe7e3a39 100644
--- a/community/rtl-sdr/PKGBUILD
+++ b/community/rtl-sdr/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 82015 2013-01-05 17:18:56Z kkeen $
+# $Id: PKGBUILD 83477 2013-02-01 16:58:18Z kkeen $
# Maintainer: Kyle Keen <keenerd@gmail.com>
# Contributor: Michael Düll <mail@akurei.me>
pkgname=rtl-sdr
-pkgver=20130105
-_commit="5673a562230a88787bed74c02ea9955901763271"
+pkgver=20130201
+_commit="ea4dbd242d268e50163acb8df1ac662485b43632"
pkgrel=1
pkgdesc="Driver for Realtek RTL2832U, allowing general purpose software defined radio (SDR)."
arch=('i686' 'x86_64')
diff --git a/community/sarg/PKGBUILD b/community/sarg/PKGBUILD
index 11882d279..6fc0508ec 100644
--- a/community/sarg/PKGBUILD
+++ b/community/sarg/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 73875 2012-07-16 07:53:58Z spupykin $
+# $Id: PKGBUILD 83444 2013-02-01 09:35:37Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: JJDaNiMoTh <jjdanimoth.aur@gmail.com>
# Contributor: Tino Reichardt <milky-archlinux@mcmilk.de>
pkgname=sarg
-pkgver=2.3.1
-pkgrel=5
+pkgver=2.3.5
+pkgrel=1
pkgdesc="Squid Analysis Report Generator"
arch=('i686' 'x86_64')
url="http://sarg.sourceforge.net"
@@ -17,7 +17,7 @@ backup=('etc/sarg/css.tpl'
'etc/sarg/sarg.conf'
'etc/sarg/user_limit_block')
source=(http://downloads.sourceforge.net/sourceforge/sarg/$pkgname-$pkgver.tar.gz)
-md5sums=('bf637b8a820b81e2c55e815934151b4d')
+md5sums=('a10545aa0571f73789d81dcfca5bfb3c')
build() {
cd ${srcdir}/$pkgname-$pkgver
diff --git a/community/squid/PKGBUILD b/community/squid/PKGBUILD
index d88935fa4..0eed1e067 100644
--- a/community/squid/PKGBUILD
+++ b/community/squid/PKGBUILD
@@ -1,12 +1,12 @@
-# $Id: PKGBUILD 82172 2013-01-10 09:49:38Z spupykin $
+# $Id: PKGBUILD 83469 2013-02-01 14:43:54Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Mark Coolen <mark.coolen@gmail.com>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Contributor: Kevin Piche <kevin@archlinux.org>
pkgname=squid
-pkgver=3.2.6
-pkgrel=2
+pkgver=3.2.7
+pkgrel=1
pkgdesc='Full-featured Web proxy cache server'
arch=('x86_64' 'i686')
url='http://www.squid-cache.org'
@@ -24,7 +24,7 @@ source=("http://www.squid-cache.org/Versions/v3/3.2/$pkgname-$pkgver.tar.bz2"
'squid.pam'
'squid.cron'
'squid.service')
-md5sums=('87915ad83aebafc7af6871c770b23339'
+md5sums=('3e4d21b24c39d5066791017919866a64'
'e90895ce22c0b618c89a46a9a181fe6c'
'2383772ef94efddc7b920628bc7ac5b0'
'270977cdd9b47ef44c0c427ab9034777'
diff --git a/community/tiled-qt/PKGBUILD b/community/tiled-qt/PKGBUILD
index d79724165..44ffe4486 100644
--- a/community/tiled-qt/PKGBUILD
+++ b/community/tiled-qt/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase>
# Collaborator: Jonathan Fine (were.Vire AT gmail DOT com)
pkgname=tiled-qt
-pkgver=0.8.1
+pkgver=0.9.0
pkgrel=1
pkgdesc='A general purpose tile map editor, built to be flexible and easy to use'
arch=('i686' 'x86_64')
@@ -10,32 +10,17 @@ license=('GPL')
depends=('qt' 'libgl' 'gtk-update-icon-cache')
makedepends=('mesa')
install=${pkgname}.install
-source=(http://sourceforge.net/projects/tiled/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz
- tiled.desktop)
-md5sums=('2a8b42e5b956562a184ab0f2b926cac7'
- '3c44178b349de1c1a5f56b08d229c2f4')
+source=(http://sourceforge.net/projects/tiled/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+md5sums=('e2e21a54ff17e34b49b8a330cc8b657e')
build() {
- cd $srcdir/$pkgname-$pkgver
- qmake -r PREFIX=/usr
- make
+ cd $srcdir/$pkgname-$pkgver
+ qmake -r INSTALL_HEADERS=yes RPATH=no PREFIX=/usr
+ make
}
package() {
- cd $srcdir
- install -D -m 644 tiled.desktop "$pkgdir/usr/share/applications/tiled.desktop"
+ cd $pkgname-$pkgver
- cd $pkgname-$pkgver
-
- make install INSTALL_ROOT=$pkgdir
-
- install -D -m 644 "src/tiled/images/tiled-icon-16.png" "$pkgdir/usr/share/icons/hicolor/16x16/apps/tiled-icon.png"
- install -D -m 644 "src/tiled/images/tiled-icon-32.png" "$pkgdir/usr/share/icons/hicolor/32x32/apps/tiled-icon.png"
- install -D -m 644 "src/tiled/images/tiled-icon.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/tiled-icon.svg"
-
- cd src/libtiled
- for i in *.h
- do
- install -D -m 644 $i "$pkgdir/usr/include/libtiled/$i"
- done
+ make install INSTALL_ROOT=$pkgdir
}
diff --git a/extra/cairo/PKGBUILD b/extra/cairo/PKGBUILD
index 1597c2d64..51eead283 100644
--- a/extra/cairo/PKGBUILD
+++ b/extra/cairo/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 175889 2013-01-23 11:37:31Z jgc $
+# $Id: PKGBUILD 176849 2013-02-01 14:30:42Z andyrtr $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Brice Carpentier <brice@daknet.org>
pkgname=cairo
-pkgver=1.12.10
-pkgrel=2
+pkgver=1.12.12
+pkgrel=1
pkgdesc="Cairo vector graphics library"
arch=(i686 x86_64)
license=('LGPL' 'MPL')
@@ -15,17 +15,11 @@ optdepends=('xcb-util: for XCB backend') # really needed?
provides=('cairo-xcb')
replaces=('cairo-xcb')
options=('!libtool')
-source=(http://cairographics.org/releases/$pkgname-$pkgver.tar.xz
- revert-xlib-map-to-image-requires-an-extents.patch
- revert-xlib-Simplify-source-creation-by-use-of-map-to-image.patch)
-sha1sums=('be06d5aaa272bbbd08380f71ca710d5612881493'
- '8bc096dd16a885ad041cb2137a64757f32d1cc88'
- 'fd8ffd9aba3679c344e4f25494f199a51b0ae62c')
+source=(http://cairographics.org/releases/$pkgname-$pkgver.tar.xz)
+sha1sums=('8e597874da5b861287893d87dd4ab32471e99c82')
build() {
cd "$srcdir/$pkgname-$pkgver"
- patch -Np1 -R -i ../revert-xlib-map-to-image-requires-an-extents.patch
- patch -Np1 -R -i ../revert-xlib-Simplify-source-creation-by-use-of-map-to-image.patch
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
diff --git a/extra/libchewing/PKGBUILD b/extra/libchewing/PKGBUILD
index 2a4fbb70a..0f773c96e 100644
--- a/extra/libchewing/PKGBUILD
+++ b/extra/libchewing/PKGBUILD
@@ -1,22 +1,22 @@
-# $Id: PKGBUILD 149033 2012-02-05 15:05:03Z bisson $
+# $Id: PKGBUILD 176851 2013-02-01 14:39:29Z bisson $
# Contributor: damir <damir@archlinux.org>
# Contributor: whisky <archlinux.cle(at)gmail.com>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
pkgname=libchewing
-pkgver=0.3.3
-pkgrel=2
+pkgver=0.3.4
+pkgrel=1
pkgdesc='Intelligent Zhuyin input method library for traditional Chinese'
arch=('i686' 'x86_64')
url='http://chewing.csie.net/'
license=('GPL')
options=('!libtool')
-source=("http://chewing.csie.net/download/libchewing/${pkgname}-${pkgver}.tar.bz2")
-sha1sums=('24ade7bbb0288f71588bb45831d7fc9d5137a4cb')
+source=("http://chewing.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2")
+sha1sums=('631a613df00409b51adebb8b2dc33c5e6a006834')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr --enable-static=no
+ ./configure --prefix=/usr --disable-static
make
}
diff --git a/extra/ntfs-3g_ntfsprogs/PKGBUILD b/extra/ntfs-3g_ntfsprogs/PKGBUILD
index 71f8e627d..00622cbaf 100644
--- a/extra/ntfs-3g_ntfsprogs/PKGBUILD
+++ b/extra/ntfs-3g_ntfsprogs/PKGBUILD
@@ -1,20 +1,19 @@
-# $Id: PKGBUILD 172190 2012-12-01 14:32:58Z dreisner $
+# $Id: PKGBUILD 176861 2013-02-01 21:35:19Z eric $
# Maintainer: Tom Gundersen <teg@jklm.no>
# Contributor: Ronald van Haren <ronald.archlinux.org>
# Contributor: Thomas Bchler <thomas.archlinux.org>
pkgbase=ntfs-3g_ntfsprogs
pkgname=('ntfs-3g' 'ntfsprogs')
-pkgver=2012.1.15
-pkgrel=4
-url="http://www.tuxera.com"
+pkgver=2013.1.13
+pkgrel=1
+url="http://www.tuxera.com/community/ntfs-3g-download/"
arch=('i686' 'x86_64')
license=('GPL2')
depends=('glibc' 'fuse')
-makedepends=('pkgconfig')
options=('!libtool')
source=(http://tuxera.com/opensource/$pkgbase-$pkgver.tgz)
-sha1sums=('8d55cf49afde172fefa369a0a85289e09c4d7bbb')
+sha1sums=('8c12b7644d90ae9fb8d0aca0d7ebd5f8fac2c818')
build() {
cd "$srcdir/$pkgbase-$pkgver"
diff --git a/extra/phonon-gstreamer/PKGBUILD b/extra/phonon-gstreamer/PKGBUILD
index 222f3f6d8..933136ffc 100644
--- a/extra/phonon-gstreamer/PKGBUILD
+++ b/extra/phonon-gstreamer/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 165217 2012-08-13 13:16:45Z andrea $
+# $Id: PKGBUILD 176838 2013-02-01 08:12:28Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=phonon-gstreamer
-pkgver=4.6.2
+pkgver=4.6.3
pkgrel=1
arch=('i686' 'x86_64')
url='http://phonon.kde.org/'
@@ -13,7 +13,7 @@ makedepends=('cmake' 'automoc4' 'phonon' 'mesa')
provides=('phonon-backend')
install="${pkgname}.install"
source=("http://download.kde.org/stable/phonon/phonon-backend-gstreamer/${pkgver}/src/phonon-backend-gstreamer-${pkgver}.tar.xz")
-md5sums=('8c08875d10952bc5685bcec8de3acb2d')
+md5sums=('d7b0b6245f380347c52c09033a814931')
build() {
cd "${srcdir}"
diff --git a/extra/pkgfile/PKGBUILD b/extra/pkgfile/PKGBUILD
new file mode 100644
index 000000000..7f9907165
--- /dev/null
+++ b/extra/pkgfile/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 176818 2013-02-01 01:25:21Z dreisner $
+# Maintainer: Dave Reisner <dreisner@archlinux.org>
+
+pkgname=pkgfile
+pkgver=8
+pkgrel=1
+pkgdesc="a pacman .files metadata explorer"
+arch=('i686' 'x86_64')
+url="http://github.com/falconindy/pkgfile"
+license=('MIT')
+depends=('libarchive' 'curl' 'pcre' 'pacman')
+conflicts=('pkgtools<24-2')
+source=("http://code.falconindy.com/archive/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
+install=pkgfile.install
+md5sums=('772d02872ddf112c5e24d6ad40e5623d'
+ '712c546c0291975e646a1d2170034e10')
+
+options=(!strip)
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ ./configure
+ make
+
+ # generate a license file
+ sed '/\*\//q' src/pkgfile.c >LICENSE
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim: ft=sh syn=sh
diff --git a/extra/pkgfile/pkgfile.install b/extra/pkgfile/pkgfile.install
new file mode 100644
index 000000000..5545a3d39
--- /dev/null
+++ b/extra/pkgfile/pkgfile.install
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+post_install() {
+ printf "==> Run 'pkgfile --update' to initialize the database\n"
+}
+
+post_remove() {
+ # the cache dir might not be removed, notify the user
+ if [ -d var/cache/pkgfile ]; then
+ printf "==> /var/cache/pkgfile has not been removed\n"
+ fi
+}
+
+post_upgrade() {
+ if [ "$(vercmp 5 "$2")" -eq 1 ]; then
+ printf "==> DB format has changed. Please run pkgfile -uu\n"
+ fi
+}
diff --git a/extra/racket/PKGBUILD b/extra/racket/PKGBUILD
index 56083ae3e..4a2c1948a 100644
--- a/extra/racket/PKGBUILD
+++ b/extra/racket/PKGBUILD
@@ -1,20 +1,20 @@
-# $Id: PKGBUILD 170577 2012-11-09 03:34:54Z eric $
+# $Id: PKGBUILD 176859 2013-02-01 18:49:56Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>
pkgname=racket
-pkgver=5.3.1
+pkgver=5.3.2
pkgrel=1
pkgdesc="A programming language environment (formerly known as PLT Scheme) suitable for tasks ranging from scripting to application development"
arch=('i686' 'x86_64')
url="http://racket-lang.org/"
license=('LGPL')
depends=('gtk2' 'desktop-file-utils')
-makedepends=('gsfonts')
+makedepends=('gsfonts' 'sqlite')
options=('!libtool' '!strip')
install=racket.install
source=(http://download.racket-lang.org/installers/${pkgver}/racket/${pkgname}-${pkgver}-src-unix.tgz \
drracket.desktop)
-sha1sums=('5aa74a2eafd44a521c27c34f4b4264670f1bf571'
+sha1sums=('bd6b1a31d3a94bc8253709f7ca1c81bcb2e23495'
'a20808f6b250225704856f82a544681a962a299d')
build() {
diff --git a/extra/scim-chewing/PKGBUILD b/extra/scim-chewing/PKGBUILD
index c9e01f6f7..ea3d7fac2 100644
--- a/extra/scim-chewing/PKGBUILD
+++ b/extra/scim-chewing/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 149044 2012-02-05 15:19:54Z bisson $
+# $Id: PKGBUILD 176853 2013-02-01 14:44:22Z bisson $
# Contributor: damir <damir@archlinux.org>
# Contributor: whisky <archlinux.cle(at)gmail.com>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
pkgname=scim-chewing
-pkgver=0.3.4
-pkgrel=3
+pkgver=0.3.5
+pkgrel=1
pkgdesc='Traditional Chinese input method module for SCIM'
url='http://chewing.csie.net/'
license=('GPL')
@@ -13,8 +13,8 @@ options=('!libtool')
arch=('i686' 'x86_64')
makedepends=('intltool')
depends=('scim' 'libchewing')
-source=("http://chewing.csie.net/download/scim/${pkgname}-${pkgver}.tar.bz2")
-sha1sums=('f6c8d16f19f17449ee169f1ca787350353e93b05')
+source=("http://chewing.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2")
+sha1sums=('f26ced990f0c9e5d43e271cd6e77583de81a008d')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
diff --git a/extra/testdisk/PKGBUILD b/extra/testdisk/PKGBUILD
index 5070e266c..37db9bb94 100644
--- a/extra/testdisk/PKGBUILD
+++ b/extra/testdisk/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 170219 2012-11-05 14:04:00Z tpowa $
+# $Id: PKGBUILD 176860 2013-02-01 21:35:19Z eric $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Michal Krenek <mikos@sg1.cz>
pkgname=testdisk
pkgver=6.13
-pkgrel=3
+pkgrel=4
pkgdesc="Checks and undeletes partitions + PhotoRec, signature based recovery tool"
arch=('i686' 'x86_64')
url="http://www.cgsecurity.org/index.html?testdisk.html"
diff --git a/extra/xf86-input-synaptics/PKGBUILD b/extra/xf86-input-synaptics/PKGBUILD
index 7d5798ac5..68c9a4d7e 100644
--- a/extra/xf86-input-synaptics/PKGBUILD
+++ b/extra/xf86-input-synaptics/PKGBUILD
@@ -1,12 +1,12 @@
-# $Id: PKGBUILD 174734 2013-01-05 13:53:36Z andyrtr $
+# $Id: PKGBUILD 176855 2013-02-01 15:31:40Z andyrtr $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Thomas Bächler <thomas@archlinux.org>
# Contributor: Alexander Baldeck <alexander@archlinux.org>
pkgname=xf86-input-synaptics
-pkgver=1.6.2
-pkgrel=4
+pkgver=1.6.3
+pkgrel=1
pkgdesc="Synaptics driver for notebook touchpads"
arch=('i686' 'x86_64')
license=('custom')
@@ -22,7 +22,7 @@ options=(!libtool)
backup=('etc/X11/xorg.conf.d/50-synaptics.conf')
source=(http://xorg.freedesktop.org/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
add_tapbuttons.diff)
-sha256sums=('c3f7d6a085d480c352f030aeb43db2e5560d1468ed34be24d44a0fc3fda25920'
+sha256sums=('b40c9dbd5f743ff1eb2ac81a23b9676df72e76ed3fa6408de3f8a3a260248604'
'5298d3e871db3768b34cf8516d3f53f9291202e2ea5de3300256e1cd9119a1ec')
build() {
diff --git a/libre/calibre-libre/PKGBUILD b/libre/calibre-libre/PKGBUILD
index 91f4c8ea6..baf02216f 100644
--- a/libre/calibre-libre/PKGBUILD
+++ b/libre/calibre-libre/PKGBUILD
@@ -6,7 +6,7 @@
_pkgname=calibre
pkgname=calibre-libre
-pkgver=0.9.16
+pkgver=0.9.17
pkgrel=1
pkgdesc="Ebook management application (unar support included instead of libunrar and without nonfree fonts)"
arch=('i686' 'x86_64')
@@ -27,7 +27,7 @@ install=calibre.install
source=("http://calibre-ebook.googlecode.com/files/${_pkgname}-${pkgver}.tar.xz"
'desktop_integration.patch'
'calibre-mount-helper')
-md5sums=('ee66d836fad40a184792cee3c5c6755b'
+md5sums=('dd978f45d1fa3702811ec5328c4aec9c'
'42c07b43d575b5e7e7524bd7b9528f0e'
'675cd87d41342119827ef706055491e7')
diff --git a/libre/claws-mail-libre/PKGBUILD b/libre/claws-mail-libre/PKGBUILD
index 7a093b29a..ee7019130 100644
--- a/libre/claws-mail-libre/PKGBUILD
+++ b/libre/claws-mail-libre/PKGBUILD
@@ -32,8 +32,8 @@ makedepends=(
bogofilter
compface
spamassassin
- valgrind
)
+[ "$CARCH" != "mips64el" ] && makedepends+=(valgrind)
optdepends=(
'python2: needed for some tools'
'perl: needed for some tools'
@@ -67,7 +67,7 @@ build() {
sed -i 's@^#!.*python.*@#!/usr/bin/python2@' tools/*.py
- setarch $CARCH ./configure --prefix=/usr\
+ ./configure --prefix=/usr\
--disable-dillo-viewer-plugin\
--disable-static\
--enable-bogofilter-plugin\
@@ -79,16 +79,16 @@ build() {
--enable-pgpmime-plugin\
--enable-spamassassin-plugin
- setarch $CARCH make
+ make
}
package() {
cd $srcdir/$pkgbase-$pkgver
- setarch $CARCH make DESTDIR=$pkgdir install
+ make DESTDIR=$pkgdir install
# build and install extra tools
cd tools
- setarch $CARCH make
+ make
# all executables and .conf files ; only top directory
find -maxdepth 1 -type f -and -perm /111 -or -name '*.conf' | while read i ; do
install -D -m755 $i $pkgdir/usr/lib/$pkgbase/tools/$i
diff --git a/libre/linux-libre-lts/PKGBUILD b/libre/linux-libre-lts/PKGBUILD
index 3b01d1521..52197526f 100644
--- a/libre/linux-libre-lts/PKGBUILD
+++ b/libre/linux-libre-lts/PKGBUILD
@@ -10,7 +10,7 @@ _basekernel=3.0
_sublevel=61
pkgver=${_basekernel}.${_sublevel}
pkgrel=1
-_lxopkgver=${_basekernel}.60 # nearly always the same as pkgver
+_lxopkgver=${_basekernel}.61 # nearly always the same as pkgver
arch=('i686' 'x86_64' 'mips64el')
url="http://linux-libre.fsfla.org/"
license=('GPL2')
@@ -32,9 +32,9 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/${_basekernel}-gn
'module-init-wait-3.0.patch'
"http://www.linux-libre.fsfla.org/pub/linux-libre/lemote/gnewsense/pool/debuginfo/linux-patches-${_lxopkgver}-gnu_0loongsonlibre_mipsel.tar.bz2")
md5sums=('5f64180fe7df4e574dac5911b78f5067'
- '029dea7dd8bd815de241fff00d1bc2ab'
- '34c234b48d663bd4b04b45b9789bd107'
- '7ae9267fd5e8fd8993d9e2428e808afa'
+ 'dd163767eb05f10ff0fc0c14ac2a6f4f'
+ '99f9c408b64393aceb2482c9a3e329ee'
+ 'fba95bf1857ce6bf863e13a1ab73f584'
'c072b17032e80debc6a8626299245d46'
'2967cecc3af9f954ccc822fd63dca6ff'
'8267264d9a8966e57fdacd1fa1fc65c4'
@@ -44,7 +44,7 @@ md5sums=('5f64180fe7df4e574dac5911b78f5067'
'f36222e7ce20c8e4dc27376f9be60f6c'
'670931649c60fcb3ef2e0119ed532bd4'
'8a71abc4224f575008f974a099b5cf6f'
- 'ffc297dd82534e15a09fabb882d28bc9')
+ '8436bee363b959651d12eeb21bf0ec23')
if [ "$CARCH" != "mips64el" ]; then
# Don't use the Loongson-specific patches on non-mips64el arches.
unset source[${#source[@]}-1]
diff --git a/libre/linux-libre-lts/config.i686 b/libre/linux-libre-lts/config.i686
index 8bf312df5..f903b2114 100644
--- a/libre/linux-libre-lts/config.i686
+++ b/libre/linux-libre-lts/config.i686
@@ -4920,7 +4920,7 @@ CONFIG_CLKSRC_I8253=y
CONFIG_EDD=m
# CONFIG_EDD_OFF is not set
CONFIG_FIRMWARE_MEMMAP=y
-CONFIG_EFI_VARS=m
+CONFIG_EFI_VARS=y
CONFIG_DELL_RBU=m
CONFIG_DCDBAS=m
CONFIG_DMIID=y
diff --git a/libre/linux-libre-lts/config.x86_64 b/libre/linux-libre-lts/config.x86_64
index fac17105b..c369e1b5b 100644
--- a/libre/linux-libre-lts/config.x86_64
+++ b/libre/linux-libre-lts/config.x86_64
@@ -4678,7 +4678,7 @@ CONFIG_INTEL_OAKTRAIL=m
CONFIG_EDD=m
# CONFIG_EDD_OFF is not set
CONFIG_FIRMWARE_MEMMAP=y
-CONFIG_EFI_VARS=m
+CONFIG_EFI_VARS=y
CONFIG_DELL_RBU=m
CONFIG_DCDBAS=m
CONFIG_DMIID=y
diff --git a/libre/linux-libre/PKGBUILD b/libre/linux-libre/PKGBUILD
index aa8cdb544..2707a8e04 100644
--- a/libre/linux-libre/PKGBUILD
+++ b/libre/linux-libre/PKGBUILD
@@ -13,7 +13,7 @@ _basekernel=3.7
_sublevel=5
pkgver=${_basekernel}.${_sublevel}
pkgrel=1
-_lxopkgver=${_basekernel}.4 # nearly always the same as pkgver
+_lxopkgver=${_basekernel}.5 # nearly always the same as pkgver
arch=('i686' 'x86_64' 'mips64el')
url="http://linux-libre.fsfla.org/"
license=('GPL2')
@@ -41,7 +41,7 @@ md5sums=('06bf9601d859531e7378eb43d4ca7dd3'
'04b21c79df0a952c22d681dd4f4562df'
'9d3c56a4b999c8bfbd4018089a62f662'
'88d501404f172dac6fcb248978251560'
- 'b65ff9dd54d2b2743a3b51c716d8745d')
+ '22056cd3540f16d19a4adfc83e055b1f')
if [ "$CARCH" != "mips64el" ]; then
# Don't use the Loongson-specific patches on non-mips64el arches.
unset source[${#source[@]}-1]
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..4d2af3bfd
--- /dev/null
+++ b/pcr/timekpr/PKGBUILD
@@ -0,0 +1,79 @@
+# Contributor: SanskritFritz (gmail)
+
+pkgname=timekpr
+pkgver=0.3.2
+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
+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')
+
+
+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
+
+ install -Dm0644 "${srcdir}/timekpr.service" "${pkgdir}/usr/lib/systemd/system/timekpr.service"
+}
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/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
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