[arch-commits] Commit in gtk-theme-switch2/trunk (PKGBUILD enable_deprecated.patch)

Eric Belanger eric at archlinux.org
Tue May 27 22:19:42 EDT 2008


    Date: Tuesday, May 27, 2008 @ 22:19:42
  Author: eric
Revision: 2161

upgpkg: gtk-theme-switch2 2.0.5-1
    Upstream update, added arch tag, added license, added man page

Modified:
  gtk-theme-switch2/trunk/PKGBUILD
Deleted:
  gtk-theme-switch2/trunk/enable_deprecated.patch

-------------------------+
 PKGBUILD                |   23 +++++++++++------------
 enable_deprecated.patch |    9 ---------
 2 files changed, 11 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-05-28 01:31:26 UTC (rev 2160)
+++ PKGBUILD	2008-05-28 02:19:42 UTC (rev 2161)
@@ -3,20 +3,19 @@
 # Contributor: Eddie Lozon <almostlucky at attbi.com>
 
 pkgname=gtk-theme-switch2
-pkgver=2.0.0rc2
-pkgrel=2
+pkgver=2.0.5
+pkgrel=1
 pkgdesc="Gtk2 theme switcher"
-depends=('gtk2')
-source=(http://www.muhri.net/gtk-theme-switch-$pkgver.tar.gz \
-        enable_deprecated.patch)
+arch=('i686' 'x86_64')
 url="http://muhri.net/nav.php3?node=gts"
-md5sums=('f51b254fb347a86feef12db4bd76be6f' '1d8d84a768a824502d0ee998a52f81b9')
+license=('GPL2')
+depends=('gtk2')
+source=(http://ftp.de.debian.org/debian/pool/main/g/gtk-theme-switch/gtk-theme-switch_${pkgver}.tar.gz)
+md5sums=('9775656eb1dab08c883fd0e3c23fc0a5')
 
-build()
-{
-  cd $startdir/src/gtk-theme-switch-$pkgver
-  patch -up0 -i ../enable_deprecated.patch
+build() {
+  cd ${startdir}/src/gtk-theme-switch-${pkgver}
   make || return 1
-  mkdir -p $startdir/pkg/usr/bin
-  cp switch2 $startdir/pkg/usr/bin/switch2
+  install -D -m755 switch2 $startdir/pkg/usr/bin/switch2 || return 1
+  install -D -m644 switch.1 $startdir/pkg/usr/share/man/man1/switch2.1 || return 1
 }

Deleted: enable_deprecated.patch
===================================================================
--- enable_deprecated.patch	2008-05-28 01:31:26 UTC (rev 2160)
+++ enable_deprecated.patch	2008-05-28 02:19:42 UTC (rev 2161)
@@ -1,9 +0,0 @@
---- switch.h	2003-06-11 00:16:36.000000000 -0500
-+++ switch.h	2006-01-07 13:53:07.000000000 -0600
-@@ -1,4 +1,6 @@
- #include <gtk/gtk.h>
-+#undef GTK_DISABLE_DEPRECATED
-+#include <gtk/gtkcombo.h>
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <sys/wait.h>





More information about the arch-commits mailing list