Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Maintainer: Denis Moiseev <fystep@mail.ru> ### You are the maintainer of this package. Contributors are previous maintainers and/or the ones suggesting improvements to your packages
- pkgname=libreoffice-presentation-layouts ### You don't need to list _me_ here, though ^^
- pkgver=3.3
- pkgrel=2
- _rpm=OpenOffice_org-templates-presentation-layouts-3.0-11.1.noarch.rpm
- pkgdesc="Layouts for LibreOffice"
- arch=('any')
- license=('GPL')
- url="http://opensuse.org/"
- depends=(libreoffice)
- makedepends=(rpmextract)
- source=(http://download.opensuse.org/repositories/OpenOffice.org:/STABLE/openSUSE_11.3/noarch/$_rpm) ### The official mirror: faster and more up-to-date downloads
- md5sums=('e59de5657335c062e15ac18b00cea6f9')
- pakcage() { ### Only packaging is being done in the process
- rpmextract.sh $_rpm ### No need to cd to "$srcdir" ($startdir/src) - we are already there
- cp -r usr/ "$pkgdir" ### This is the preferred syntax: '$pkgdir' (and '$srcdir') is shorter, while the quotes (") allow building even if '$pkgdir' (the build destination dir) contains spaces
- } ### In addition in this package the permissions are fine but in most cases the files need to be moved with "cp -a" (to preserve the permissions)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement