diff options
author | Askhat Bakarov | 2015-06-25 12:34:51 +0600 |
---|---|---|
committer | Askhat Bakarov | 2015-06-25 12:34:51 +0600 |
commit | 25878abc34ae7df3d5f7d47ae74a8229ff115cf9 (patch) | |
tree | b298f4143909910f4bdcdf6d2eae4199bb41a810 /PKGBUILD | |
download | aur-libreoffice-extension-minicorrector.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9eee6479ea18 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# +pkgname=libreoffice-extension-minicorrector +_pkgname=minicorrector +pkgver=2.1.2 +pkgrel=3 +pkgdesc="Performs global search and replace throughout the document in the list of rules." +arch=('any') +url="http://extensions.services.openoffice.org/project/minicorrector" +license=('LGPL') +groups=('libreoffice-extensions') +depends=('libreoffice') +makedepends=('unzip') +#source=('http://extensions.services.openoffice.org/e-files/2305/14/MiniCorrector-2.1.2.oxt') +source=("http://downloads.sourceforge.net/project/aoo-extensions/2305/14/${_pkgname}-${pkgver}.oxt") +noextract=(${source[@]##*/}) +md5sums=('bf9eb8d695bfc1286e8c75589485b1eb') + +package() { + _DESTDIR="${pkgdir}/usr/lib/libreoffice/share/extensions/${_pkgname}/" + install -dm755 "${_DESTDIR}" + unzip -q "$srcdir"/${_pkgname}-${pkgver}.oxt -d "${_DESTDIR}" + chmod -R g-w,o-w "${_DESTDIR}" +} + |