[arch-commits] Commit in kdetoys/repos (4 files)

Andrea Scarpino andrea at archlinux.org
Thu Nov 24 11:16:40 EST 2011


    Date: Thursday, November 24, 2011 @ 11:16:40
  Author: andrea
Revision: 143422

db-move: moved kdetoys from [staging] to [kde-unstable] (x86_64)

Added:
  kdetoys/repos/kde-unstable-x86_64/
  kdetoys/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 143277, kdetoys/repos/staging-x86_64/PKGBUILD)
  kdetoys/repos/kde-unstable-x86_64/kdetoys.install
    (from rev 143277, kdetoys/repos/staging-x86_64/kdetoys.install)
Deleted:
  kdetoys/repos/staging-x86_64/

-----------------+
 PKGBUILD        |   56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 kdetoys.install |   11 ++++++++++
 2 files changed, 67 insertions(+)

Copied: kdetoys/repos/kde-unstable-x86_64/PKGBUILD (from rev 143277, kdetoys/repos/staging-x86_64/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2011-11-24 16:16:40 UTC (rev 143422)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+
+pkgbase=kdetoys
+pkgname=('kdetoys-amor'
+         'kdetoys-kteatime'
+         'kdetoys-ktux')
+pkgver=4.7.80
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://www.kde.org'
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdetoys')
+makedepends=('cmake' 'automoc4' 'kdebase-workspace')
+source=("http://download.kde.org/unstable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2")
+sha1sums=('5462cdc809f22fcc2837844fb7b5fad0b5f716c5')
+
+build() {
+	cd $srcdir
+	mkdir build
+	cd build
+	cmake ../${pkgbase}-${pkgver} \
+		-DCMAKE_BUILD_TYPE=Release \
+		-DCMAKE_SKIP_RPATH=ON \
+		-DCMAKE_INSTALL_PREFIX=/usr
+	make
+}
+
+package_kdetoys-amor() {
+	pkgdesc='On-Screen Creature'
+	depends=('kdebase-runtime')
+	install='kdetoys.install'
+	cd $srcdir/build/amor
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/amor
+	make DESTDIR=$pkgdir install
+}
+
+package_kdetoys-kteatime() {
+	pkgdesc='Tea Cooker'
+	depends=('kdebase-runtime')
+	install='kdetoys.install'
+	cd $srcdir/build/kteatime
+	make DESTDIR=$pkgdir install
+	cd $srcdir/build/doc/kteatime
+	make DESTDIR=$pkgdir install
+}
+
+package_kdetoys-ktux() {
+	pkgdesc='KTux'
+	depends=('kdebase-workspace' )
+	install='kdetoys.install'
+	cd $srcdir/build/ktux
+	make DESTDIR=$pkgdir install
+}

Copied: kdetoys/repos/kde-unstable-x86_64/kdetoys.install (from rev 143277, kdetoys/repos/staging-x86_64/kdetoys.install)
===================================================================
--- kde-unstable-x86_64/kdetoys.install	                        (rev 0)
+++ kde-unstable-x86_64/kdetoys.install	2011-11-24 16:16:40 UTC (rev 143422)
@@ -0,0 +1,11 @@
+post_install() {
+	xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}



More information about the arch-commits mailing list