summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-03-22 03:51:15 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-03-22 03:51:15 +0000
commit50a801882f997d91380ebb5a74a63919582cb211 (patch)
tree96d93f63c8420eab8947931098fe05e1cb0d9a13 /community
parentd0f33415f254cb2fee06fd89f9cfed4535322f37 (diff)
Sat Mar 22 03:47:24 UTC 2014
Diffstat (limited to 'community')
-rw-r--r--community/gtkglextmm/PKGBUILD29
-rw-r--r--community/gtkglextmm/fix_ftbfs_gtk_2_20.patch28
-rw-r--r--community/gtkglextmm/fix_ftbfs_gtk_2_36.patch121
-rw-r--r--community/gtkglextmm/fix_ftbfs_gtk_2_37.patch24
-rw-r--r--community/gtkglextmm/gdkspanfunc.patch13
-rw-r--r--community/gtkglextmm/gtkglextmm-1.2.0-aclocal.patch11
-rw-r--r--community/hercules/PKGBUILD20
-rw-r--r--community/julius/PKGBUILD8
-rw-r--r--community/mate-calc/PKGBUILD30
-rw-r--r--community/mate-calc/mate-calc.install11
-rw-r--r--community/pitivi/PKGBUILD6
-rw-r--r--community/springlobby/PKGBUILD8
-rw-r--r--community/srm/PKGBUILD8
-rw-r--r--community/usbview/PKGBUILD14
14 files changed, 235 insertions, 96 deletions
diff --git a/community/gtkglextmm/PKGBUILD b/community/gtkglextmm/PKGBUILD
index f90b68c1b..18d1b835d 100644
--- a/community/gtkglextmm/PKGBUILD
+++ b/community/gtkglextmm/PKGBUILD
@@ -1,30 +1,39 @@
-# $Id: PKGBUILD 102157 2013-12-06 11:32:53Z giovanni $
+# $Id: PKGBUILD 108043 2014-03-21 17:27:23Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Bastien Bouclet <bastien.bouclet@gmail.com>
# Contributor: SpepS <dreamspepser at yahoo dot it>
pkgname=gtkglextmm
pkgver=1.2.0
-pkgrel=9
+pkgrel=10
pkgdesc="Cpp C++ bindings for gtkglext"
arch=('i686' 'x86_64')
url="http://gtkglext.sourceforge.net/"
+license=('GPL')
depends=('gtkmm' 'gtkglext')
makedepends=('mesa')
-license=('GPL')
source=("http://downloads.sourceforge.net/sourceforge/gtkglext/${pkgname}-${pkgver}.tar.bz2"
- 'gdkspanfunc.patch')
+ 'gtkglextmm-1.2.0-aclocal.patch'
+ 'fix_ftbfs_gtk_2_20.patch'
+ 'fix_ftbfs_gtk_2_36.patch'
+ 'fix_ftbfs_gtk_2_37.patch')
md5sums=('27c05f4d45c5fd07b6fb0f044add3056'
- 'd7c8ea33c748a6857ee629c16b2d9bff')
+ '1f331ecdaa6ea3f9eaec8f0e54d6cd82'
+ '60a2e7518a148ea3be59669770ee5aaa'
+ 'dd08d68c5e076dfa3293b00dd4150633'
+ 'c39860d898a9ce24af3762fd351c5266')
-build() {
+prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
- # FS#24706
- patch -Np1 -i "${srcdir}/gdkspanfunc.patch"
+ patch -Np1 -i "${srcdir}/gtkglextmm-1.2.0-aclocal.patch"
+ patch -Np1 -i "${srcdir}/fix_ftbfs_gtk_2_20.patch"
+ patch -Np1 -i "${srcdir}/fix_ftbfs_gtk_2_36.patch"
+ patch -Np1 -i "${srcdir}/fix_ftbfs_gtk_2_37.patch"
+}
- # automake 1.8 fix
- sed -i "s|\(AC_DEFUN(\)\(AC_.*_MULTIHEAD\)|\1[\2]|" m4macros/gtkglextmm.m4
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--disable-gtkglext-test \
diff --git a/community/gtkglextmm/fix_ftbfs_gtk_2_20.patch b/community/gtkglextmm/fix_ftbfs_gtk_2_20.patch
new file mode 100644
index 000000000..1755f93e3
--- /dev/null
+++ b/community/gtkglextmm/fix_ftbfs_gtk_2_20.patch
@@ -0,0 +1,28 @@
+Description: Fix FTBFS due to missing GdkSpanFunc definition
+ .
+ The sequence of #include directives is important - if gtk/gtkglwidget.h
+ is included first, before widget.h, it includes gdk.h without undefing
+ GDK_DISABLE_DEPRECATED - this leads to GdkSpanFunc not being defined
+ and compilation errors.
+ The fix is to first include widget.h which includes the right gdkmm header
+ which defines GDK_DISABLE_DEPRECATED before including gdk.h.
+Forwarded: no
+Bug-Ubuntu: http://launchpad.net/bugs/662572
+
+Index: gtkglextmm-1.2.0/gtkglext/gtkmm/gl/widget.cc
+===================================================================
+--- gtkglextmm-1.2.0.orig/gtkglext/gtkmm/gl/widget.cc 2010-12-08 13:31:59.651270000 +0100
++++ gtkglextmm-1.2.0/gtkglext/gtkmm/gl/widget.cc 2010-12-08 13:32:10.871270000 +0100
+@@ -17,10 +17,10 @@
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ */
+
+-#include <gtk/gtkglwidget.h>
+-
+ #include "widget.h"
+
++#include <gtk/gtkglwidget.h>
++
+ namespace Gtk
+ {
+ namespace GL
diff --git a/community/gtkglextmm/fix_ftbfs_gtk_2_36.patch b/community/gtkglextmm/fix_ftbfs_gtk_2_36.patch
new file mode 100644
index 000000000..88e271e3e
--- /dev/null
+++ b/community/gtkglextmm/fix_ftbfs_gtk_2_36.patch
@@ -0,0 +1,121 @@
+Index: gtkglextmm-1.2.0/gdkglext/gdkmm/gl/wrap_init.cc
+===================================================================
+--- gtkglextmm-1.2.0.orig/gdkglext/gdkmm/gl/wrap_init.cc 2013-05-16 23:40:48.363207736 +0200
++++ gtkglextmm-1.2.0/gdkglext/gdkmm/gl/wrap_init.cc 2013-05-16 23:42:40.193801834 +0200
+@@ -1,15 +1,8 @@
+-
+-#include <glib.h>
+-
+ // Disable the 'const' function attribute of the get_type() functions.
+ // GCC would optimize them out because we don't use the return value.
+ #undef G_GNUC_CONST
+ #define G_GNUC_CONST /* empty */
+
+-#include <gdkmm/gl/wrap_init.h>
+-#include <glibmm/error.h>
+-#include <glibmm/object.h>
+-
+ // #include the widget headers so that we can call the get_type() static methods:
+
+ #include "tokens.h"
+@@ -19,6 +12,12 @@
+ #include "pixmap.h"
+ #include "window.h"
+
++#include <glib.h>
++
++#include <gdkmm/gl/wrap_init.h>
++#include <glibmm/error.h>
++#include <glibmm/object.h>
++
+ extern "C"
+ {
+
+Index: gtkglextmm-1.2.0/gdkglext/gdkmm/gl/query.cc
+===================================================================
+--- gtkglextmm-1.2.0.orig/gdkglext/gdkmm/gl/query.cc 2013-05-16 23:40:48.363207736 +0200
++++ gtkglextmm-1.2.0/gdkglext/gdkmm/gl/query.cc 2013-05-16 23:42:40.193801834 +0200
+@@ -17,10 +17,10 @@
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ */
+
+-#include <gdk/gdkglquery.h>
+-
+ #include "query.h"
+
++#include <gdk/gdkglquery.h>
++
+ namespace Gdk
+ {
+ namespace GL
+Index: gtkglextmm-1.2.0/gdkglext/gdkmm/gl/pixmapext.cc
+===================================================================
+--- gtkglextmm-1.2.0.orig/gdkglext/gdkmm/gl/pixmapext.cc 2013-05-16 23:40:48.363207736 +0200
++++ gtkglextmm-1.2.0/gdkglext/gdkmm/gl/pixmapext.cc 2013-05-16 23:42:40.193801834 +0200
+@@ -17,11 +17,11 @@
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ */
+
++#include "pixmapext.h"
++
+ #include <gdk/gdkgldrawable.h>
+ #include <gdk/gdkglpixmap.h>
+
+-#include "pixmapext.h"
+-
+ namespace Gdk
+ {
+ namespace GL
+Index: gtkglextmm-1.2.0/gdkglext/gdkmm/gl/windowext.cc
+===================================================================
+--- gtkglextmm-1.2.0.orig/gdkglext/gdkmm/gl/windowext.cc 2013-05-16 23:40:48.363207736 +0200
++++ gtkglextmm-1.2.0/gdkglext/gdkmm/gl/windowext.cc 2013-05-16 23:42:40.193801834 +0200
+@@ -17,11 +17,11 @@
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ */
+
++#include "windowext.h"
++
+ #include <gdk/gdkgldrawable.h>
+ #include <gdk/gdkglwindow.h>
+
+-#include "windowext.h"
+-
+ namespace Gdk
+ {
+ namespace GL
+Index: gtkglextmm-1.2.0/gdkglext/gdkmm/gl/font.cc
+===================================================================
+--- gtkglextmm-1.2.0.orig/gdkglext/gdkmm/gl/font.cc 2004-05-18 08:01:49.000000000 +0200
++++ gtkglextmm-1.2.0/gdkglext/gdkmm/gl/font.cc 2013-05-16 23:43:07.637456821 +0200
+@@ -17,10 +17,10 @@
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ */
+
+-#include <gdk/gdkglfont.h>
+-
+ #include "font.h"
+
++#include <gdk/gdkglfont.h>
++
+ namespace Gdk
+ {
+ namespace GL
+Index: gtkglextmm-1.2.0/gdkglext/gdkmm/gl/init.cc
+===================================================================
+--- gtkglextmm-1.2.0.orig/gdkglext/gdkmm/gl/init.cc 2003-02-27 10:49:24.000000000 +0100
++++ gtkglextmm-1.2.0/gdkglext/gdkmm/gl/init.cc 2013-05-16 23:44:38.320316782 +0200
+@@ -19,11 +19,11 @@
+
+ #include <cstdlib>
+
+-#include <gdk/gdkglinit.h>
+-
+ #include "wrap_init.h"
+ #include "init.h"
+
++#include <gdk/gdkglinit.h>
++
+ namespace Gdk
+ {
+ namespace GL
diff --git a/community/gtkglextmm/fix_ftbfs_gtk_2_37.patch b/community/gtkglextmm/fix_ftbfs_gtk_2_37.patch
new file mode 100644
index 000000000..0cec958de
--- /dev/null
+++ b/community/gtkglextmm/fix_ftbfs_gtk_2_37.patch
@@ -0,0 +1,24 @@
+diff --git a/gtkglext/gtkmm/gl/drawingarea.cc b/gtkglext/gtkmm/gl/drawingarea.cc
+index 82bb7f4..5a8c5e3 100644
+--- a/gtkglext/gtkmm/gl/drawingarea.cc
++++ b/gtkglext/gtkmm/gl/drawingarea.cc
+@@ -17,6 +17,7 @@
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ */
+
++#include <glibmm.h>
+ #include "drawingarea.h"
+
+ namespace Gtk
+diff --git a/gtkglext/gtkmm/gl/widget.cc b/gtkglext/gtkmm/gl/widget.cc
+index 598d6e2..2d6833b 100644
+--- a/gtkglext/gtkmm/gl/widget.cc
++++ b/gtkglext/gtkmm/gl/widget.cc
+@@ -17,6 +17,7 @@
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ */
+
++#include <glibmm.h>
+ #include "widget.h"
+
+ #include <gtk/gtkglwidget.h>
diff --git a/community/gtkglextmm/gdkspanfunc.patch b/community/gtkglextmm/gdkspanfunc.patch
deleted file mode 100644
index ae5672a8c..000000000
--- a/community/gtkglextmm/gdkspanfunc.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/gtkglext/gtkmm/gl/widget.cc 2004-05-18 03:01:50.000000000 -0300
-+++ b/gtkglext/gtkmm/gl/widget.cc 2011-06-12 17:57:13.075541070 -0300
-@@ -17,9 +17,8 @@
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
- */
-
--#include <gtk/gtkglwidget.h>
--
- #include "widget.h"
-+#include <gtk/gtkglwidget.h>
-
- namespace Gtk
- {
diff --git a/community/gtkglextmm/gtkglextmm-1.2.0-aclocal.patch b/community/gtkglextmm/gtkglextmm-1.2.0-aclocal.patch
new file mode 100644
index 000000000..b0843d521
--- /dev/null
+++ b/community/gtkglextmm/gtkglextmm-1.2.0-aclocal.patch
@@ -0,0 +1,11 @@
+--- a/m4macros/gtkglextmm.m4 2004-05-18 08:29:34.000000000 +0200
++++ b/m4macros/gtkglextmm.m4 2006-05-31 16:46:09.000000000 +0200
+@@ -222,7 +222,7 @@
+ dnl AC_GTKGLEXTMM_SUPPORTS_MULTIHEAD([ACTION-IF-SUPPORTED [, ACTION-IF-NOT-SUPPORTED]])
+ dnl Checks whether gtkglextmm supports multihead.
+ dnl
+-AC_DEFUN(AC_GTKGLEXTMM_SUPPORTS_MULTIHEAD,
++AC_DEFUN([AC_GTKGLEXTMM_SUPPORTS_MULTIHEAD],
+ [ AC_LANG_SAVE
+ AC_LANG_CPLUSPLUS
+ AC_CACHE_CHECK([whether gtkglextmm supports multihead],
diff --git a/community/hercules/PKGBUILD b/community/hercules/PKGBUILD
index 9a1396446..2a0609717 100644
--- a/community/hercules/PKGBUILD
+++ b/community/hercules/PKGBUILD
@@ -1,32 +1,32 @@
-# $Id: PKGBUILD 99809 2013-10-31 01:50:39Z allan $
+# $Id: PKGBUILD 108015 2014-03-21 00:37:09Z eric $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Kevin Piche <kevin@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=hercules
-pkgver=3.08
+pkgver=3.10
pkgrel=1
-arch=('x86_64' 'i686')
pkgdesc='Software implementation of System/370 and ESA/390'
+arch=('i686' 'x86_64')
url='http://www.hercules-390.eu/'
-source=("http://downloads.hercules-390.eu/$pkgname-$pkgver.tar.gz")
license=('custom')
depends=('bzip2' 'libgcrypt' 'zlib' 'perl')
-sha256sums=('85e217773587f2278d4b6cb6bc815e042cfc982d0fc14baa0da4a84dea399e9d')
+options=('!makeflags')
+source=("http://downloads.hercules-390.eu/$pkgname-$pkgver.tar.gz")
+sha256sums=('26264569b7d78bbc3b6221926051ac3761c4a792dfc84d591d3230de40aa46fa')
build() {
- cd "$srcdir/$pkgname-$pkgver"
-
+ cd $pkgname-$pkgver
# Change module extension from .la to .so.
sed '/HDL_MODULE_SUFFIX/ s/\.la/.so/' -i hdl.h
./configure --prefix=/usr
- make -j1
+ make
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd $pkgname-$pkgver
- make prefix="$pkgdir/usr" install
+ make DESTDIR="$pkgdir" install
install -Dm644 COPYRIGHT \
"$pkgdir/usr/share/licenses/hercules/qpl1"
}
diff --git a/community/julius/PKGBUILD b/community/julius/PKGBUILD
index 8e14904d7..eb5cd7444 100644
--- a/community/julius/PKGBUILD
+++ b/community/julius/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 103609 2014-01-08 10:39:22Z arcanis $
+# $Id: PKGBUILD 108040 2014-03-21 16:24:18Z arcanis $
# Maintainer: Evgeniy Alekseev <arcanis.arch at gmail dot com>
# Contributor: Matt Harrison <matt at mistbyte dot com>
# Contributor: Muhammad Qadri <Muhammad dot A dot Qadri at gmail dot com>
pkgname=julius
-pkgver=4.3
+pkgver=4.3.1
pkgrel=1
pkgdesc="A high-performance, two-pass large vocabulary continuous speech recognition decoder software"
arch=("i686" "x86_64")
@@ -12,8 +12,8 @@ url="http://julius.sourceforge.jp/"
license=("custom")
depends=("libpulse")
optdepends=("voxforge-am-julius: acoustic models")
-source=("http://iij.dl.sourceforge.jp/${pkgname}/60153/${pkgname}-${pkgver}.tar.gz")
-md5sums=("48b36e9104b55c409a60947f7ba05bb3")
+source=("http://dl.sourceforge.jp/${pkgname}/60273/${pkgname}-${pkgver}.tar.gz")
+md5sums=("7868d89ac1fa729f477a7c700efaf087")
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
diff --git a/community/mate-calc/PKGBUILD b/community/mate-calc/PKGBUILD
deleted file mode 100644
index 0651c0b4c..000000000
--- a/community/mate-calc/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# Maintainer : Martin Wimpress <code@flexion.org>
-
-pkgname=mate-calc
-pkgver=1.8.0
-pkgrel=2
-pkgdesc="Calculator for the Mate desktop environment"
-url="http://mate-desktop.org"
-arch=('i686' 'x86_64')
-license=('LGPL' 'GPL')
-depends=('dconf' 'gtk2')
-makedepends=('mate-common' 'perl-xml-parser' 'yelp-tools')
-optdepends=('yelp: for reading MATE help documents')
-options=('!emptydirs')
-groups=('mate-extra')
-source=("http://pub.mate-desktop.org/releases/1.8/${pkgname}-${pkgver}.tar.xz")
-sha1sums=('d63156db75d8110f0cabf82a12c74c5b9836f327')
-install=${pkgname}.install
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure \
- --prefix=/usr \
- --with-gtk=2.0
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-}
diff --git a/community/mate-calc/mate-calc.install b/community/mate-calc/mate-calc.install
deleted file mode 100644
index 3a06d45b9..000000000
--- a/community/mate-calc/mate-calc.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- glib-compile-schemas /usr/share/glib-2.0/schemas/
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
diff --git a/community/pitivi/PKGBUILD b/community/pitivi/PKGBUILD
index 8849804ba..0f3060f0d 100644
--- a/community/pitivi/PKGBUILD
+++ b/community/pitivi/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 100501 2013-11-05 10:06:09Z spupykin $
+# $Id: PKGBUILD 108019 2014-03-21 08:50:40Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Abhishek Dasgupta <abhidg@gmail.com>
# Contributor: Gabor Nyekhelyi (n0gabor) <n0gabor@vipmail.hu>
pkgname=pitivi
-pkgver=0.92
+pkgver=0.93
pkgrel=1
pkgdesc="Editor for audio/video projects using the GStreamer framework"
arch=('i686' 'x86_64')
@@ -20,7 +20,7 @@ optdepends=('frei0r-plugins: additional video effects, clip transformation featu
'gst-plugins-ugly: additional multimedia codecs')
install=$pkgname.install
source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz)
-md5sums=('6c84db8a647c9151c3890e9cd15a8fc1')
+md5sums=('27fa7e560b6da0cc8f83466c1346b96e')
build() {
cd "$srcdir/$pkgname-$pkgver"
diff --git a/community/springlobby/PKGBUILD b/community/springlobby/PKGBUILD
index 02fda8147..13f6de688 100644
--- a/community/springlobby/PKGBUILD
+++ b/community/springlobby/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 104963 2014-01-28 18:12:41Z svenstaro $
+# $Id: PKGBUILD 108052 2014-03-21 20:04:05Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: DuGi <dugi@irc.pl>
pkgname=springlobby
-pkgver=0.180
-pkgrel=3
+pkgver=0.182
+pkgrel=1
pkgdesc="A free cross-platform lobby client for the Spring RTS project."
arch=('i686' 'x86_64')
url="http://springlobby.info/"
@@ -15,7 +15,7 @@ optdepends=('sdl' 'sdl_sound' 'sdl_mixer')
makedepends=('boost' 'asio' 'cmake')
install=springlobby.install
source=(http://www.springlobby.info/tarballs/${pkgname}-${pkgver}.tar.bz2)
-md5sums=('4e33b20be873660649cf7c369ce81373')
+md5sums=('d20ce337747374b9a4ec51c5fa6f5202')
build() {
cd $srcdir/${pkgname}-$pkgver
diff --git a/community/srm/PKGBUILD b/community/srm/PKGBUILD
index 27dd11989..a09fc5f8b 100644
--- a/community/srm/PKGBUILD
+++ b/community/srm/PKGBUILD
@@ -1,17 +1,17 @@
-# $Id: PKGBUILD 104066 2014-01-15 08:27:26Z giovanni $
+# $Id: PKGBUILD 108034 2014-03-21 15:42:25Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=srm
-pkgver=1.2.12
+pkgver=1.2.13
pkgrel=1
pkgdesc="A secure replacement for rm(1) that overwrites data before unlinking"
arch=('i686' 'x86_64')
url="http://srm.sourceforge.net/"
license=('custom')
depends=('glibc')
-source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.xz")
-md5sums=('395c42753e9d98d6f815ac28a42ba87a')
+source=("http://sourceforge.net/projects/${pkgname}/files/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('123f8fbf086a5c50aadb2a23991b9416')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
diff --git a/community/usbview/PKGBUILD b/community/usbview/PKGBUILD
index 8a0a59b05..e3e5774d3 100644
--- a/community/usbview/PKGBUILD
+++ b/community/usbview/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 81972 2013-01-05 07:30:40Z giovanni $
+# $Id: PKGBUILD 108036 2014-03-21 16:04:00Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Jason Chu <jason@archlinux.org>
pkgname=usbview
pkgver=2.0
-pkgrel=2
+pkgrel=3
pkgdesc="Display the topology of devices on the USB bus"
arch=('i686' 'x86_64')
url="http://www.kroah.com/linux/usb/"
@@ -15,12 +15,12 @@ install=${pkgname}.install
source=("http://www.kroah.com/linux/usb/${pkgname}-${pkgver}.tar.gz")
md5sums=('565f2e79f3924d14ab5b4d8aced557e5')
-build() {
- cd "${srcdir}"
- gendesk -n
- sed -i "s:Application;:Application;System:g" "${srcdir}"/${pkgname}.desktop
+prepare() {
+ gendesk -n --pkgname "$pkgname" --pkgdesc "$pkgdesc" --name "Usbview" --categories "Application;System"
+}
- cd "${pkgname}-${pkgver}"
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--sysconfdir=/etc \