[arch-commits] Commit in (libsigc++ libsigc++/trunk/PKGBUILD libsigc++2.0)

Jan de Groot jgc at archlinux.org
Mon Jun 7 06:44:12 EDT 2010


    Date: Monday, June 7, 2010 @ 06:44:11
  Author: jgc
Revision: 81927

Rename libsigc++2.0 to libsigc++, just like upstream. The old libsigc++ (1.x) package has been removed from repositories long time ago.

Added:
  libsigc++/
Modified:
  libsigc++/trunk/PKGBUILD
Deleted:
  libsigc++2.0/

----------+
 PKGBUILD |   22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)

Modified: libsigc++/trunk/PKGBUILD
===================================================================
--- libsigc++2.0/trunk/PKGBUILD	2010-06-07 10:39:53 UTC (rev 81926)
+++ libsigc++/trunk/PKGBUILD	2010-06-07 10:44:11 UTC (rev 81927)
@@ -2,34 +2,40 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 # Contributor: Tom Newsom <Jeepster at gmx.co.uk>
 
-pkgbase=libsigc++2.0
-pkgname=('libsigc++2.0' 'libsigc++2.0-docs')
-pkgver=2.2.7
+pkgbase=libsigc++
+pkgname=('libsigc++' 'libsigc++-docs')
+pkgver=2.2.8
 pkgrel=1
 arch=(i686 x86_64)
 license=('LGPL')
 url="http://libsigc.sourceforge.net/"
-source=(http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.2/libsigc++-${pkgver}.tar.bz2)
+source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/2.2/${pkgname}-${pkgver}.tar.bz2)
 makedepends=('gcc-libs>=4.5.0')
 options=(!libtool !emptydirs)
-sha256sums=('2b8cc4670714458cd4fecefb00e7d5d2c717ae9b1963a057e7ebca1cd93baafa')
+sha256sums=('0fd75fd8249e09ae2fd3ffd20c3fbaea11b47d71ba5ba2340ed98b6bdca40ea8')
 
 build() {
-  cd "${srcdir}/libsigc++-${pkgver}"
+  cd "${srcdir}/${pkgname}-${pkgver}"
   ./configure --prefix=/usr || return 1
   make || return 1
 }
 
-package_libsigc++2.0() {
+package_libsigc++() {
   pkgdesc="Libsigc++ implements a full callback system for use in widget libraries - V2"
   depends=('gcc-libs>=4.5.0')
+  provides=("libsigc++2.0=${pkgver}")
+  replaces=('libsigc++2.0')
+  conflicts=('libsigc++2.0')
   cd "${srcdir}/libsigc++-${pkgver}"
   sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile || return 1
   make DESTDIR="${pkgdir}" install || return 1
 }
 
-package_libsigc++2.0-docs() {
+package_libsigc++-docs() {
   pkgdesc="Developer documentation for libsigc++"
+  provides=("libsigc++2.0-docs=${pkgver}")
+  replaces=('libsigc++2.0-docs')
+  conflicts=('libsigc++2.0-docs')
   cd "${srcdir}/libsigc++-${pkgver}/docs"
   make DESTDIR="${pkgdir}" install || return 1
 }



More information about the arch-commits mailing list