summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD24
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ee97847c014
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = libreoffice-extension-minicorrector
+ pkgdesc = Performs global search and replace throughout the document in the list of rules.
+ pkgver = 2.1.2
+ pkgrel = 3
+ url = http://extensions.services.openoffice.org/project/minicorrector
+ arch = any
+ groups = libreoffice-extensions
+ license = LGPL
+ makedepends = unzip
+ depends = libreoffice
+ noextract = minicorrector-2.1.2.oxt
+ source = http://downloads.sourceforge.net/project/aoo-extensions/2305/14/minicorrector-2.1.2.oxt
+ md5sums = bf9eb8d695bfc1286e8c75589485b1eb
+
+pkgname = libreoffice-extension-minicorrector
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9eee6479ea1
--- /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}"
+}
+