[arch-commits] Commit in kde-l10n-sr/repos (3 files)
Pierre Schmitz
pierre at archlinux.org
Thu Dec 11 21:39:31 UTC 2008
Date: Thursday, December 11, 2008 @ 16:39:31
Author: pierre
Revision: 21317
KDE 4.2 Beta 2
Added:
kde-l10n-sr/repos/kde-unstable-x86_64/
kde-l10n-sr/repos/kde-unstable-x86_64/PKGBUILD
kde-l10n-sr/repos/kde-unstable-x86_64/kde-l10n-sr.install
---------------------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
kde-l10n-sr.install | 11 +++++++++++
2 files changed, 41 insertions(+)
Added: kde-unstable-x86_64/PKGBUILD
===================================================================
--- kde-unstable-x86_64/PKGBUILD (rev 0)
+++ kde-unstable-x86_64/PKGBUILD 2008-12-11 21:39:31 UTC (rev 21317)
@@ -0,0 +1,30 @@
+# $Id: $
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=kde-l10n-sr
+pkgver=4.1.85
+pkgrel=1
+pkgdesc="Serbian Localization for KDE"
+arch=('i686' 'x86_64')
+url='http://www.kde.org'
+license=('GPL')
+groups=('kde-l10n')
+replaces=('kde-i18n-sr')
+provides=('kde-i18n-sr')
+depends=('xdg-utils')
+makedepends=('pkgconfig' 'cmake' 'automoc4' 'kdelibs')
+options=('docs')
+install='kde-l10n-sr.install'
+source=("http://download.kde.org/unstable/${pkgver}/src/kde-l10n/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('14e0b1b3cdaad01e425c1a7351f24183')
+
+build() {
+ cd $srcdir
+ mkdir build
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+ make DESTDIR=$pkgdir install
+}
Added: kde-unstable-x86_64/kde-l10n-sr.install
===================================================================
--- kde-unstable-x86_64/kde-l10n-sr.install (rev 0)
+++ kde-unstable-x86_64/kde-l10n-sr.install 2008-12-11 21:39:31 UTC (rev 21317)
@@ -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