[arch-commits] Commit in kdetoys-ktux/repos (6 files)
Felix Yan
fyan at archlinux.org
Fri Jan 16 07:18:14 UTC 2015
Date: Friday, January 16, 2015 @ 08:18:14
Author: fyan
Revision: 229337
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
kdetoys-ktux/repos/testing-i686/
kdetoys-ktux/repos/testing-i686/PKGBUILD
(from rev 229336, kdetoys-ktux/trunk/PKGBUILD)
kdetoys-ktux/repos/testing-i686/kdetoys-ktux.install
(from rev 229336, kdetoys-ktux/trunk/kdetoys-ktux.install)
kdetoys-ktux/repos/testing-x86_64/
kdetoys-ktux/repos/testing-x86_64/PKGBUILD
(from rev 229336, kdetoys-ktux/trunk/PKGBUILD)
kdetoys-ktux/repos/testing-x86_64/kdetoys-ktux.install
(from rev 229336, kdetoys-ktux/trunk/kdetoys-ktux.install)
-------------------------------------+
testing-i686/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
testing-i686/kdetoys-ktux.install | 11 +++++++++++
testing-x86_64/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
testing-x86_64/kdetoys-ktux.install | 11 +++++++++++
4 files changed, 86 insertions(+)
Copied: kdetoys-ktux/repos/testing-i686/PKGBUILD (from rev 229336, kdetoys-ktux/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2015-01-16 07:18:14 UTC (rev 229337)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdetoys-ktux
+pkgver=14.12.1
+pkgrel=1
+pkgdesc='A Tux-in-a-spaceship screen saver'
+url='https://projects.kde.org/projects/kde/kdetoys/ktux'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdetoys')
+depends=('kdebase-workspace')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/ktux-${pkgver}.tar.xz")
+sha1sums=('50ed649cdcbcb0abf8ddd658b67fd2b4bb87576e')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../ktux-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR=$pkgdir install
+}
Copied: kdetoys-ktux/repos/testing-i686/kdetoys-ktux.install (from rev 229336, kdetoys-ktux/trunk/kdetoys-ktux.install)
===================================================================
--- testing-i686/kdetoys-ktux.install (rev 0)
+++ testing-i686/kdetoys-ktux.install 2015-01-16 07:18:14 UTC (rev 229337)
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: kdetoys-ktux/repos/testing-x86_64/PKGBUILD (from rev 229336, kdetoys-ktux/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-01-16 07:18:14 UTC (rev 229337)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdetoys-ktux
+pkgver=14.12.1
+pkgrel=1
+pkgdesc='A Tux-in-a-spaceship screen saver'
+url='https://projects.kde.org/projects/kde/kdetoys/ktux'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdetoys')
+depends=('kdebase-workspace')
+makedepends=('cmake' 'automoc4')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/applications/${pkgver}/src/ktux-${pkgver}.tar.xz")
+sha1sums=('50ed649cdcbcb0abf8ddd658b67fd2b4bb87576e')
+
+build() {
+ mkdir build
+ cd build
+ cmake ../ktux-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DKDE4_BUILD_TESTS=OFF \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR=$pkgdir install
+}
Copied: kdetoys-ktux/repos/testing-x86_64/kdetoys-ktux.install (from rev 229336, kdetoys-ktux/trunk/kdetoys-ktux.install)
===================================================================
--- testing-x86_64/kdetoys-ktux.install (rev 0)
+++ testing-x86_64/kdetoys-ktux.install 2015-01-16 07:18:14 UTC (rev 229337)
@@ -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