[aur-general] I want to take over go-openoffice-el

Χρήστος Χρήστος
Wed Sep 29 02:46:28 EDT 2010


This package http://aur.archlinux.org/packages.php?ID=27124
has been out of date for quite some time, and his maintener hasn't yet
answered my email. I believe he is no longer interested in maintaining
it. I have attached my updated PKGBUILD, i have tested on both my
machines (i686&x64) and it works fine.
-------------- next part --------------
# Contributor: TemplarGR	<christos.kotsaris at gmail.com>

pkgname=go-openoffice-el
pkgver=3.2.1
_pkgver=3.2.1

pkgrel=1
_lang=el
_srcurl=http://go-oo.mirrorbrain.org/stable
_intver=${pkgver}-9505
pkgdesc="Go-OpenOffice Greek language files"
arch=('i686' 'x86_64')
license=('LGPL')
url="http://go-oo.org/discover/"
makedepends=('rpmextract')
depends=('go-openoffice>=3.2.1.6')

_source_x86=(
	${_srcurl}/linux-x86/${_pkgver}/ooobasis3.2-${_lang}-${_intver}.i586.rpm
	${_srcurl}/linux-x86/${_pkgver}/ooobasis3.2-${_lang}-base-${_intver}.i586.rpm
	${_srcurl}/linux-x86/${_pkgver}/ooobasis3.2-${_lang}-binfilter-${_intver}.i586.rpm
	${_srcurl}/linux-x86/${_pkgver}/ooobasis3.2-${_lang}-calc-${_intver}.i586.rpm
	${_srcurl}/linux-x86/${_pkgver}/ooobasis3.2-${_lang}-draw-${_intver}.i586.rpm
	${_srcurl}/linux-x86/${_pkgver}/ooobasis3.2-${_lang}-help-${_intver}.i586.rpm
	${_srcurl}/linux-x86/${_pkgver}/ooobasis3.2-${_lang}-impress-${_intver}.i586.rpm
	${_srcurl}/linux-x86/${_pkgver}/ooobasis3.2-${_lang}-math-${_intver}.i586.rpm
	${_srcurl}/linux-x86/${_pkgver}/ooobasis3.2-${_lang}-res-${_intver}.i586.rpm
	${_srcurl}/linux-x86/${_pkgver}/ooobasis3.2-${_lang}-writer-${_intver}.i586.rpm
	${_srcurl}/linux-x86/${_pkgver}/openoffice.org3-${_lang}-${_intver}.i586.rpm
)
_md5sums_x86=(
  'e88df9d7fa1ba39e2dd0604dd1949314'
         'c165d169808f6407c5a00ccaeaae4168'
         '3f834f5a3f1dbc1b9917988aa64198d2'
         'a274be4b90a8ccb104c2b1f1a24b55e8'
         'a809844850e3e958e0defdc4d058c205'
         '978347b092de2a921507363b578ddc68'
         '68380eca3ac36817dc2d06185836eef8'
         '1e4c5d8e0a20f53ba17b7f25060ea781'
         '055422f2dc50e74ad3eea8ca4f257275'
         'bf358e3efbf0481cf21c8c9fce43e786'
         '3f8794ad9b812ddcee9bb659c557026a' 
)

_source_x86_64=(
	${_srcurl}/linux-x86_64/${_pkgver}/ooobasis3.2-${_lang}-${_intver}.x86_64.rpm
	${_srcurl}/linux-x86_64/${_pkgver}/ooobasis3.2-${_lang}-base-${_intver}.x86_64.rpm
	${_srcurl}/linux-x86_64/${_pkgver}/ooobasis3.2-${_lang}-binfilter-${_intver}.x86_64.rpm
	${_srcurl}/linux-x86_64/${_pkgver}/ooobasis3.2-${_lang}-calc-${_intver}.x86_64.rpm
	${_srcurl}/linux-x86_64/${_pkgver}/ooobasis3.2-${_lang}-draw-${_intver}.x86_64.rpm
	${_srcurl}/linux-x86_64/${_pkgver}/ooobasis3.2-${_lang}-help-${_intver}.x86_64.rpm
	${_srcurl}/linux-x86_64/${_pkgver}/ooobasis3.2-${_lang}-impress-${_intver}.x86_64.rpm
	${_srcurl}/linux-x86_64/${_pkgver}/ooobasis3.2-${_lang}-math-${_intver}.x86_64.rpm
	${_srcurl}/linux-x86_64/${_pkgver}/ooobasis3.2-${_lang}-res-${_intver}.x86_64.rpm
	${_srcurl}/linux-x86_64/${_pkgver}/ooobasis3.2-${_lang}-writer-${_intver}.x86_64.rpm
	${_srcurl}/linux-x86_64/${_pkgver}/openoffice.org3-${_lang}-${_intver}.x86_64.rpm
)
_md5sums_x86_64=(
	  '6fa5a6ebb9bb0afecf030d634458f8ff'
         '039e3e01990647bb45430de626aaf177'
         '4247cd6fbef68e946d9204322cb20101'
         '0d042f3b9fe45541ef26d74cf6edf894'
         '11b89c9fe51c8cacada9486c8cdafaca'
         '1cdcaa1b033ab8416835dec17f4c2095'
         '078ee0e8cd2e32d91533382944426721'
         '5e0b999c172c0685fa272ba9bc9c349e'
         'd1b90408ad8ad9aca5cacbcb9d262791'
         '820af33024beb22c6038fea2f3e69824'
         '82111c971bfa4768dd9db66cb9c8a960'
)

source=(${_source_x86[@]})
md5sums=(${_md5sums_x86[@]})
[ "$CARCH" = "x86_64" ] && source=(${_source_x86_64[@]})
[ "$CARCH" = "x86_64" ] && md5sums=(${_md5sums_x86_64[@]})

build() {
	cd ${srcdir}
	for i in *.rpm
		do rpmextract.sh $i
	done

	mkdir -p ${pkgdir}/usr/lib/${pkgname%%-${_lang}}
	cp -R opt/openoffice.org{,3}/* ${pkgdir}/usr/lib/${pkgname%%-${_lang}}
}


More information about the aur-general mailing list