updated on Fri Jan 13 20:02:10 UTC 2012
[aur-mirror.git] / openoffice-beta-sr / PKGBUILD
blob0828d00c4842e208f1592329eb0de7b53a60e1dd
1 # Maintainer: Xabre <Xabre_666@operamail.com>
3 pkgname=openoffice-beta-sr
4 pkgver=3.3.0beta1
5 pkgrel=1
6 pkgdesc="OpenOffice.org beta serbian  language files (cyrilic)."
7 arch=('i686' 'x86_64')
8 url="http://www.openoffice.org"
9 license=('GPL')
10 makedepends=('rpmextract')
11 depends=('openoffice-base-beta')
12 options=('!emptydirs')
13 source=(http://ftp-1.gwdg.de/pub/openoffice/extended/${pkgver}/OOo-Dev_${pkgver}_Linux_x86_langpack-rpm_sr.tar.gz)
15 md5sums=('6b0b5811774d2d868f975b6bd9d970fe')
17 build() {
18   cd "${srcdir}"/*native_packed*/RPMS
20   for i in *.rpm
21      do rpmextract.sh $i
22   done
24 #install openoffice language files
25   install -d "${pkgdir}/usr/lib/openoffice-beta/basis-link"
26   cp -R opt/openoffice.org/basis3.3/* "${pkgdir}/usr/lib/openoffice-beta/basis-link"
27   cp -R opt/openoffice.org3/* "${pkgdir}/usr/lib/openoffice-beta/basis-link"
28   chown root:root -R "${pkgdir}/usr/lib/openoffice-beta"