updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / openoffice-beta-sh / PKGBUILD
blobe16f4954a302c39a40b56756be9d20389048975f
1 # Maintainer: Xabre <Xabre_666@operamail.com>
3 pkgname=openoffice-beta-sh
4 pkgver=3.3.0beta1
5 pkgrel=1
6 pkgdesc="OpenOffice.org beta serbian  language files (latin)."
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_sh.tar.gz)
15 md5sums=('dfddb3624ed9091f40510ad5bbf6545d')
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"