summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaroslav Lichtblau2014-11-29 17:30:36 +0100
committerJaroslav Lichtblau2014-11-29 17:30:36 +0100
commit8eeea8426be69a8611877f97455998cc81d17d63 (patch)
treea5607de531074bcd77ae867c24f293923fc053b2
parent31bf86bd2d6111e5983671ea37a2596a1268a667 (diff)
downloadaur-8eeea8426be69a8611877f97455998cc81d17d63.tar.gz
mm2odt-0.9.0beta9-1
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD31
2 files changed, 23 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c0543d758b5..8f23c407169 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,13 @@
pkgbase = mm2odt
- pkgdesc = Plugin which exports a FreeMind mindmap to an OOorg format and can use users document templates
- pkgver = 0.8.0
+ pkgdesc = Export a FreeMind mindmap to an OpenOffice.org format .odt and .odp
+ pkgver = 0.9.0beta9
pkgrel = 1
url = http://sourceforge.net/projects/mm2odtfreemind/
- arch = i686
+ arch = any
license = GPL
- makedepends = unzip
- depends = freemind>=$pkgver
- source = http://downloads.sourceforge.net/mm2odtfreemind/Plugin_odt_FM0.8.0.zip
- md5sums = 61dc748d262fb95ed2fd56798d9ed925
+ depends = freemind
+ source = http://sourceforge.net/projects/mm2odtfreemind/files/Export%20to%20ODT/for%20FreeMind%200.9.0%20beta%209/Plugin_ODT_FM0.9.0beta9.zip
+ md5sums = 17aaccb79771163dffbbfa12e17eb34a
pkgname = mm2odt
diff --git a/PKGBUILD b/PKGBUILD
index 0b61f51f502..c24c059cb3f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,22 +1,25 @@
-# Contributor: Dragonlord <dragonlord[at]seznam[.]cz>
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+
pkgname=mm2odt
-pkgver=0.8.0
+pkgver=0.9.0beta9
pkgrel=1
-pkgdesc="Plugin which exports a FreeMind mindmap to an OOorg format and can use users document templates"
-arch=('i686')
+pkgdesc="Export a FreeMind mindmap to an OpenOffice.org format .odt and .odp"
+arch=('any')
url="http://sourceforge.net/projects/mm2odtfreemind/"
license=('GPL')
-depends=('freemind>=$pkgver')
-makedepends=('unzip')
-source=(http://downloads.sourceforge.net/mm2odtfreemind/Plugin_odt_FM$pkgver.zip)
-md5sums=('61dc748d262fb95ed2fd56798d9ed925')
+depends=('freemind')
+source=(http://sourceforge.net/projects/mm2odtfreemind/files/Export%20to%20ODT/for%20FreeMind%200.9.0%20beta%209/Plugin_ODT_FM0.9.0beta9.zip)
+md5sums=('17aaccb79771163dffbbfa12e17eb34a')
-build() {
- cd "$startdir/src"
+prepare() {
+ cd "${srcdir}"
find . -type f -exec chmod -x {} \;
+}
+
+package() {
+ cd "${srcdir}"
- install -d "$startdir/pkg/usr/share/freemind/plugins"
- cp -r "$startdir/src/odt" "$startdir/pkg/usr/share/freemind/plugins"
- install -D -m644 "$startdir/src/ExportOdt.xml" \
- "$startdir/pkg/usr/share/freemind/plugins/ExportOdt.xml"
+ install -d "${pkgdir}"/usr/share/freemind/plugins
+ cp -a "${srcdir}"/* "${pkgdir}"/usr/share/freemind/plugins
+ rm "${pkgdir}"/usr/share/freemind/plugins/Plugin_ODT_FM0.9.0beta9.zip
}