summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-11-23 02:33:48 -0800
committerroot <root@rshg054.dnsready.net>2012-11-23 02:33:48 -0800
commit1fce42e9327109bd47dba5e3e690144a23bbbc19 (patch)
treee48f488b533fcfa9f4e29f6d2b935e57adf0a178 /community
parent13c6302fab6118693af345756375923b9fb7da69 (diff)
Fri Nov 23 02:31:09 PST 2012
Diffstat (limited to 'community')
-rw-r--r--community/ecryptfs-utils/PKGBUILD12
-rw-r--r--community/glusterfs/PKGBUILD72
-rw-r--r--community/glusterfs/glusterd.rc39
-rw-r--r--community/glusterfs/glusterd.service10
-rw-r--r--community/ktoblzcheck/PKGBUILD8
-rw-r--r--community/libee/PKGBUILD6
-rw-r--r--community/openclonk/PKGBUILD41
-rw-r--r--community/openclonk/openclonk.install7
-rw-r--r--community/pkgfile/0001-update-fix-use-after-free.patch27
-rw-r--r--community/pkgfile/PKGBUILD13
-rw-r--r--community/pylibacl/PKGBUILD12
-rw-r--r--community/schroot/PKGBUILD6
-rw-r--r--community/schroot/arch32-example2
-rw-r--r--community/sshguard/PKGBUILD6
-rw-r--r--community/sshguard/sshguard.service1
-rw-r--r--community/tor/PKGBUILD12
-rw-r--r--community/tor/tor.service4
-rw-r--r--community/tvtime/PKGBUILD11
18 files changed, 250 insertions, 39 deletions
diff --git a/community/ecryptfs-utils/PKGBUILD b/community/ecryptfs-utils/PKGBUILD
index 7bfc5c9d6..f90fe4a60 100644
--- a/community/ecryptfs-utils/PKGBUILD
+++ b/community/ecryptfs-utils/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 74862 2012-08-07 15:20:01Z tredaelli $
+# $Id: PKGBUILD 80488 2012-11-22 19:34:12Z tredaelli $
# Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com>
# Contributor: Richard Murri <admin@richardmurri.com>
# Contributor: Michal Krenek <mikos@sg1.cz>
pkgname=ecryptfs-utils
-pkgver=100
-pkgrel=2
+pkgver=101
+pkgrel=1
arch=('i686' 'x86_64')
pkgdesc="Enterprise-class stacked cryptographic filesystem for Linux"
url="https://launchpad.net/ecryptfs"
@@ -13,9 +13,11 @@ license=('GPL')
makedepends=('swig' 'intltool' 'gettext' 'python2')
depends=('keyutils' 'nss' 'openssl')
optdepends=('python2: for python module')
-source=("http://launchpad.net/ecryptfs/trunk/${pkgver}/+download/${pkgname}_${pkgver}.orig.tar.gz")
+source=("http://launchpad.net/ecryptfs/trunk/${pkgver}/+download/${pkgname}_${pkgver}.orig.tar.gz"
+ "${pkgname}_${pkgver}.orig.tar.gz.sig::http://launchpad.net/ecryptfs/trunk/${pkgver}/+download/..-${pkgname}_${pkgver}.orig.tar.gz.asc")
options=(!libtool)
-md5sums=('efaa5eabbd368268874536036397f73b')
+md5sums=('7a17714b2e4555a79d464e260b179f4f'
+ '51e24e3252deabec2b91811545805397')
build() {
cd "$srcdir/${pkgname}-${pkgver}"
diff --git a/community/glusterfs/PKGBUILD b/community/glusterfs/PKGBUILD
new file mode 100644
index 000000000..006770423
--- /dev/null
+++ b/community/glusterfs/PKGBUILD
@@ -0,0 +1,72 @@
+# $Id: PKGBUILD 80469 2012-11-22 12:21:36Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributors:
+# Andrei Antoukh - niwi@niwi.be - http://www.niwi.be
+# henning mueller <henning@orgizm.net>
+
+pkgname=glusterfs
+_basever=3.3
+pkgver=$_basever.1
+pkgrel=1
+pkgdesc='Is a cluster file-system capable of scaling to several peta-bytes.'
+arch=(i686 x86_64)
+url='http://www.gluster.org/'
+license=(GPL2 LGPL3)
+depends=(fuse python2 libxml2)
+makedepends=(flex bison)
+options=(!libtool)
+source=(http://download.gluster.org/pub/gluster/glusterfs/$_basever/$pkgver/glusterfs-$pkgver.tar.gz
+ glusterd.rc
+ glusterd.service)
+sha256sums=('19aaefe3a0f9059ae831b44c92944503cf439da82da23467101ac13da8b77519'
+ 'f8c113d2a101c93f0e899ba498d0cb6308caf02da37552f12245a863bec39ab4'
+ 'e9aa54fcff422e0266e0f89d4bda73e0c77458f7c5443b8327db1e7b4242e6f7')
+sha256sums=('19aaefe3a0f9059ae831b44c92944503cf439da82da23467101ac13da8b77519'
+ 'f8c113d2a101c93f0e899ba498d0cb6308caf02da37552f12245a863bec39ab4'
+ 'e9aa54fcff422e0266e0f89d4bda73e0c77458f7c5443b8327db1e7b4242e6f7')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/share/man \
+ --libexecdir=/usr/lib/$pkgname \
+ PYTHON=python2
+
+ make
+
+ sed -i s:env\ python:env\ python2: \
+ xlators/features/marker/utils/syncdaemon/gsyncd.py
+ sed -i s:/usr/bin/python:/usr/bin/python2: \
+ contrib/ipaddr-py/ipaddr.py
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+
+ mkdir -p $pkgdir/usr/sbin
+ make DESTDIR=$pkgdir install
+ mv $pkgdir/sbin/* $pkgdir/usr/sbin
+ rmdir $pkgdir/sbin
+
+ install -D -m 644 \
+ $srcdir/$pkgname-$pkgver/{README,INSTALL,COPYING*} \
+ $pkgdir/usr/share/doc/glusterfs/
+
+ install -D -m 755 \
+ $srcdir/glusterd.rc \
+ $pkgdir/etc/rc.d/glusterd
+
+ install -D -m 644 \
+ $srcdir/glusterd.service \
+ $pkgdir/usr/lib/systemd/system/glusterd.service
+
+ cp -rf \
+ $srcdir/$pkgname-$pkgver/doc/* \
+ $pkgdir/usr/share/doc/glusterfs/
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/community/glusterfs/glusterd.rc b/community/glusterfs/glusterd.rc
new file mode 100644
index 000000000..61cc26476
--- /dev/null
+++ b/community/glusterfs/glusterd.rc
@@ -0,0 +1,39 @@
+#!/bin/sh
+# Thanks to igor
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+PID="/var/run/glusterd.pid"
+
+case "$1" in
+ start)
+ stat_busy "Starting glusterd"
+ /usr/sbin/glusterd -p $PID &>/dev/null
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ add_daemon glusterd
+ stat_done
+ fi
+ ;;
+ stop)
+ stat_busy "Stopping glusterd"
+ kill -QUIT `cat "$PID"` &>/dev/null
+ if [ $? -ne 0 ]; then
+ stat_fail
+ else
+ rm_daemon glusterd
+ stat_done
+ fi
+ ;;
+ restart)
+ $0 stop
+ sleep 1
+ $0 start
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart}"
+esac
+
+exit 0
diff --git a/community/glusterfs/glusterd.service b/community/glusterfs/glusterd.service
new file mode 100644
index 000000000..c44024317
--- /dev/null
+++ b/community/glusterfs/glusterd.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Distributed filesystem daemon
+After=network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/glusterd
+
+[Install]
+WantedBy=multi-user.target
diff --git a/community/ktoblzcheck/PKGBUILD b/community/ktoblzcheck/PKGBUILD
index e58ee970d..22fa63751 100644
--- a/community/ktoblzcheck/PKGBUILD
+++ b/community/ktoblzcheck/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 78201 2012-10-17 10:24:34Z allan $
+# $Id: PKGBUILD 80490 2012-11-22 19:42:25Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Philipp Sandhaus <philipp.sandhaus@gmx.de>
pkgname=ktoblzcheck
-pkgver=1.39
-pkgrel=3
+pkgver=1.40
+pkgrel=1
pkgdesc="A library to check account numbers and bank codes of German banks"
arch=(i686 x86_64)
url="http://ktoblzcheck.sourceforge.net"
@@ -14,7 +14,7 @@ depends=('gcc-libs' 'python')
optdepends=('perl')
source=(http://downloads.sourceforge.net/sourceforge/ktoblzcheck/ktoblzcheck-$pkgver.tar.gz
ktoblzcheck-python3.patch)
-md5sums=('ef5efd6e2c31aaf6405060ec477c200c'
+md5sums=('fe29ec3ef8b48adf0302fd9d2607580b'
'a81a697bb3aaeffb7fac0ad7d9166e3f')
build() {
diff --git a/community/libee/PKGBUILD b/community/libee/PKGBUILD
index 07e51185b..147342e9d 100644
--- a/community/libee/PKGBUILD
+++ b/community/libee/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 69124 2012-04-09 15:33:25Z jelle $
+# $Id: PKGBUILD 80464 2012-11-22 10:27:21Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Brian Knox <taotetek@gmail.com>
pkgname=libee
-pkgver=0.4.0
+pkgver=0.4.1
pkgrel=1
pkgdesc="event expression library inspired by CEE"
url="http://www.libee.org/"
@@ -14,7 +14,7 @@ makedepends=()
optdepends=()
options=(!libtool)
source=("http://www.libee.org/files/download/libee-$pkgver.tar.gz")
-md5sums=('257a23d5cc8f211fb99464a462bc92cd')
+md5sums=('7bbf4160876c12db6193c06e2badedb2')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
diff --git a/community/openclonk/PKGBUILD b/community/openclonk/PKGBUILD
new file mode 100644
index 000000000..c3aebc93c
--- /dev/null
+++ b/community/openclonk/PKGBUILD
@@ -0,0 +1,41 @@
+$Id: PKGBUILD 80496 2012-11-22 21:30:12Z jsteel $
+# Maintainer: Jonathan Steel <mail at jsteel dot org>
+# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
+# Contributor: Wesley <rudirennsau at hotmail dot com>
+
+pkgname=openclonk
+pkgver=5.3.2
+pkgrel=1
+pkgdesc="A multiplayer-action-tactic-skill game"
+arch=('i686' 'x86_64')
+url="http://openclonk.org"
+license=('custom')
+conflicts=('openclonk-hg')
+depends=('gtk2' 'glew' 'sdl_mixer' 'libxpm' 'hicolor-icon-theme' 'libupnp')
+makedepends=('cmake' 'boost' 'imagemagick' 'mesa')
+install=$pkgname.install
+source=(http://hg.openclonk.org/$pkgname/archive/$pkgname-release-$pkgver-src.tar.gz)
+md5sums=('0d43b03f10c8af7a9022f023b21bb1b3')
+
+build() {
+ cd "$srcdir"/$pkgname-release-$pkgver-src
+
+ [[ -d build ]] && rm -rf build
+ mkdir build && cd build
+
+ cmake ../ -DCMAKE_INSTALL_PREFIX=/usr
+
+ make
+}
+
+package() {
+ cd "$srcdir"/$pkgname-release-$pkgver-src/build
+
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 clonk.png "$pkgdir"/usr/share/pixmaps/clonk.png
+
+ cd ..
+ install -dm755 "$pkgdir"/usr/share/licenses/$pkgname
+ install -m644 licenses/*.txt "$pkgdir"/usr/share/licenses/$pkgname
+}
diff --git a/community/openclonk/openclonk.install b/community/openclonk/openclonk.install
new file mode 100644
index 000000000..f1aa7421c
--- /dev/null
+++ b/community/openclonk/openclonk.install
@@ -0,0 +1,7 @@
+post_install() {
+ gtk-update-icon-cache -qf /usr/share/icons/hicolor
+}
+
+post_remove() {
+ post_install
+}
diff --git a/community/pkgfile/0001-update-fix-use-after-free.patch b/community/pkgfile/0001-update-fix-use-after-free.patch
new file mode 100644
index 000000000..4494224c5
--- /dev/null
+++ b/community/pkgfile/0001-update-fix-use-after-free.patch
@@ -0,0 +1,27 @@
+From 60559a15e170ad49b388ee442eb2ccbe483bc9aa Mon Sep 17 00:00:00 2001
+From: Dave Reisner <dreisner@archlinux.org>
+Date: Mon, 19 Nov 2012 19:50:47 -0500
+Subject: [PATCH] update: fix use after free
+
+mark the address space as unread so that we don't attempt a double free
+on a repo download failure during the final cleanup.
+---
+ src/update.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/update.c b/src/update.c
+index c2e76e5..0b4fb8a 100644
+--- a/src/update.c
++++ b/src/update.c
+@@ -552,7 +552,7 @@ static int add_repo_download(CURLM *multi, struct repo_t *repo)
+ } else {
+ curl_multi_remove_handle(multi, repo->curl);
+ FREE(repo->url);
+- free(repo->data);
++ FREE(repo->data);
+ repo->buflen = 0;
+ repo->server_idx++;
+ }
+--
+1.8.0
+
diff --git a/community/pkgfile/PKGBUILD b/community/pkgfile/PKGBUILD
index 1ab0717c3..5f176cdb0 100644
--- a/community/pkgfile/PKGBUILD
+++ b/community/pkgfile/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 80220 2012-11-17 22:28:33Z dreisner $
+# $Id: PKGBUILD 80498 2012-11-23 00:24:41Z dreisner $
# Maintainer: Dave Reisner <dreisner@archlinux.org>
pkgname=pkgfile
pkgver=7
-pkgrel=1
+pkgrel=2
pkgdesc="a pacman .files metadata explorer"
arch=('i686' 'x86_64')
url="http://github.com/falconindy/pkgfile"
@@ -11,13 +11,18 @@ license=('MIT')
depends=('libarchive' 'curl' 'pcre' 'pacman')
conflicts=('pkgtools<24-2')
makedepends=('perl')
-source=("https://github.com/downloads/falconindy/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
+source=("https://github.com/downloads/falconindy/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig}
+ '0001-update-fix-use-after-free.patch')
install=pkgfile.install
md5sums=('f1dc0052b1c21597ea2fa0f0ce05608c'
- '28599a9b6e56860a9cba1c95ec797551')
+ '28599a9b6e56860a9cba1c95ec797551'
+ 'a4f505d080795fd0c10fd1d93b4520f6')
build() {
cd "$pkgname-$pkgver"
+
+ patch -Np1 <"$srcdir/0001-update-fix-use-after-free.patch"
+
./configure
make
diff --git a/community/pylibacl/PKGBUILD b/community/pylibacl/PKGBUILD
index f43670048..85dd5173c 100644
--- a/community/pylibacl/PKGBUILD
+++ b/community/pylibacl/PKGBUILD
@@ -1,17 +1,17 @@
-# $Id: PKGBUILD 57855 2011-11-03 18:43:59Z lfleischer $
+# $Id: PKGBUILD 80486 2012-11-22 18:15:22Z lfleischer $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
pkgname=pylibacl
-pkgver=0.5.0
-pkgrel=2
+pkgver=0.5.1
+pkgrel=1
pkgdesc='A python extension module that allows you to manipulate the POSIX.1e ACLs.'
arch=('i686' 'x86_64')
-url='http://pylibacl.sourceforge.net/'
+url='http://pylibacl.k1024.org/'
license=('GPL')
depends=('python2')
makedepends=('python2-distribute')
-source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-md5sums=('b9d34da90e6da0813115071b3a1ab204')
+source=("https://github.com/downloads/iustin/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('a429256345ffdc2cea57fd24da0d980d')
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
diff --git a/community/schroot/PKGBUILD b/community/schroot/PKGBUILD
index abaf0e165..3e850460d 100644
--- a/community/schroot/PKGBUILD
+++ b/community/schroot/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 80297 2012-11-19 14:37:12Z spupykin $
+# $Id: PKGBUILD 80475 2012-11-22 15:02:06Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Andreas Wagner <Andreas dot Wagner at em dot uni-frankfurt dot de>
pkgname=schroot
pkgver=1.6.3
-pkgrel=2
+pkgrel=3
pkgdesc="Allows users to execute shell commands under different root filesystems. (Successor to dchroot)."
url="http://packages.qa.debian.org/s/schroot.html"
license=('GPL3')
@@ -30,7 +30,7 @@ source=("http://ftp.debian.org/debian/pool/main/s/$pkgname/${pkgname}_${pkgver}.
'fix-bash-completion.patch')
md5sums=('f6b1badef213ce8e9ef37bb3fc213390'
'a8d77cac806a0a9adef3f93cdbeb280a'
- '1e34db5387c4e5de911e15d8a9208bdb'
+ '54239847f89b9a4772910415bde6276a'
'5a3f7b839c7e0b8933748da7c5b6385b'
'ddb2f09c02b24dab777110f9808472e1'
'f0d5d5b5e34a860f6f90b5628c680f46'
diff --git a/community/schroot/arch32-example b/community/schroot/arch32-example
index 3f059e3c0..4781914b1 100644
--- a/community/schroot/arch32-example
+++ b/community/schroot/arch32-example
@@ -5,6 +5,6 @@ directory=/opt/arch32
#users=username
groups=users
root-groups=root
-script-config=arch32/config
+profile=arch32
personality=linux32
#aliases=32,i686
diff --git a/community/sshguard/PKGBUILD b/community/sshguard/PKGBUILD
index ef71cd6d2..f52725501 100644
--- a/community/sshguard/PKGBUILD
+++ b/community/sshguard/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 79972 2012-11-15 09:06:26Z mtorromeo $
+# $Id: PKGBUILD 80462 2012-11-22 08:40:25Z mtorromeo $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
pkgname=sshguard
pkgver=1.5
-pkgrel=8
+pkgrel=9
pkgdesc="Brute force detector for SSH, Exim, VSFTPD and more. Blocks by ip with iptables"
arch=('i686' 'x86_64')
#url="http://sourceforge.net/projects/sshguard/"
@@ -21,7 +21,7 @@ source=("http://downloads.sourceforge.net/sourceforge/sshguard/sshguard-$pkgver.
sha256sums=('b537f8765455fdf8424f87d4bd695e5b675b88e5d164865452137947093e7e19'
'a810da878e40be8616a93c9984e7dbd3700367d665b78b8aa2498228bb33cb6e'
'66f28e2cc81e5686f8fd5c0d5a5015d7feecbe018a259f4032cfbacf6fe8d1c3'
- '12e576713f7ed9c87cc36417fd8bb8dd613b9d27f06cae9dd0a1aae9ca65acd7'
+ '2b2a3c1140349296c3629e77f74c3b29f4ef2ce5f77cb3a811cbed5b46d23028'
'9491c4cd23d789dd04af551e16dc123f1517ca02ad3539f25715bbeec70ee21e')
build() {
diff --git a/community/sshguard/sshguard.service b/community/sshguard/sshguard.service
index 72e76be40..9340d8e9f 100644
--- a/community/sshguard/sshguard.service
+++ b/community/sshguard/sshguard.service
@@ -1,6 +1,7 @@
[Unit]
Description=Block hacking attempts
After=iptables.service network.target
+Wants=iptables.service
[Service]
ExecStart=/usr/lib/systemd/scripts/sshguard-journalctl -b /var/db/sshguard/blacklist.db
diff --git a/community/tor/PKGBUILD b/community/tor/PKGBUILD
index d4dc0067b..6a1b3ec48 100644
--- a/community/tor/PKGBUILD
+++ b/community/tor/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 79370 2012-11-03 16:57:39Z lfleischer $
+# $Id: PKGBUILD 80483 2012-11-22 17:38:18Z lfleischer $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: simo <simo@archlinux.org>
pkgname=tor
-pkgver=0.2.2.39
-pkgrel=2
+pkgver=0.2.3.25
+pkgrel=1
pkgdesc='Anonymizing overlay network.'
arch=('i686' 'x86_64')
url='http://www.torproject.org/'
@@ -21,12 +21,12 @@ source=("http://www.torproject.org/dist/${pkgname}-${pkgver}.tar.gz"{,.asc}
'tor'
'tor.conf.d'
'tor.service')
-md5sums=('9157a1f02fcda9d7d2c5744176373abd'
- '7944de0693fccf65fe0e3ea6712887b6'
+md5sums=('a1c364189a9a66ed9daa8e6436489daf'
+ 'a4c12795ffb8f68550a5dab4a9eb0654'
'56c75d4e8a66f34167d31e38c43793dd'
'f8e6868a389877346e7eebaacd1078bb'
'5c7c6834064b3530c442def6079ac3aa'
- '98901f7dfa85b352b806ba7b0d66b7d0')
+ 'b8989a7b3ab39d697624b243f7fc255d')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
diff --git a/community/tor/tor.service b/community/tor/tor.service
index a4bc1ac51..33bbc0776 100644
--- a/community/tor/tor.service
+++ b/community/tor/tor.service
@@ -5,10 +5,10 @@ After=network.target
[Service]
Type=forking
GuessMainPID=yes
-EnvironmentFile=/etc/conf.d/tor
-ExecStart=/usr/bin/tor -f $TOR_CONF $TOR_ARGS
+ExecStart=/usr/bin/tor -f /etc/tor/torrc --quiet
ExecReload=/bin/kill -HUP $MAINPID
KillSignal=SIGINT
+LimitNOFILE=8192
[Install]
WantedBy=multi-user.target
diff --git a/community/tvtime/PKGBUILD b/community/tvtime/PKGBUILD
index 00442105e..d5e6eb6d2 100644
--- a/community/tvtime/PKGBUILD
+++ b/community/tvtime/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 63761 2012-02-05 12:12:36Z ibiru $
+# $Id: PKGBUILD 80477 2012-11-22 15:02:49Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer:thefatprecious <marty@loomar.com>
pkgname=tvtime
pkgver=1.0.2
-pkgrel=3
+pkgrel=4
pkgdesc="A high quality television application for use with video capture cards"
arch=('i686' 'x86_64')
url='http://tvtime.sourceforge.net/'
@@ -23,12 +23,19 @@ md5sums=('4b3d03afe61be239b08b5e522cd8afed'
build() {
cd $srcdir/$pkgname-$pkgver
+
patch -p1 < ../tvtime-1.0.2+linux-headers-2.6.18.patch
patch -p1 < ../tvtime-1.0.2-gcc41.patch
patch -p1 < ../tvtime-1.0.2-locale_t.patch
sed -i '1,1i#include <zlib.h>' src/pngoutput.c
+ echo "StartupWMClass=tvtime" >>docs/net-tvtime.desktop
+
[ -f Makefile ] || ./configure --prefix=/usr --mandir=/usr/share/man --localstatedir=/var --sysconfdir=/etc
make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
install -D -m644 docs/html/default.tvtime.xml $pkgdir/usr/share/tvtime/default.tvtime.xml
}