PKGBUILDs/extra/koffice-l10n-zh_cn/PKGBUILD
2009-10-09 21:23:22 -05:00

24 lines
683 B
Bash

# $Id: PKGBUILD 45546 2009-07-12 15:21:17Z ronald $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
pkgname=koffice-l10n-zh_cn
pkgver=2.0.1
pkgrel=1
pkgdesc="Chinese Simplified KOffice translation."
license=('GPL')
arch=('i686' 'x86_64')
url="http://www.koffice.org"
depends=("koffice>=${pkgver}")
source=(http://download.kde.org/stable/koffice-$pkgver/src/koffice-l10n/koffice-l10n-zh_CN-$pkgver.tar.bz2)
md5sums=('49044f22c783990ee2f44edd14687193')
build() {
cd ${srcdir}
install -d build
cd build
cmake ../koffice-l10n-zh_CN-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
make DESTDIR=${pkgdir} install
}