summaryrefslogtreecommitdiff
path: root/community/vym/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/vym/PKGBUILD
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/vym/PKGBUILD')
-rw-r--r--community/vym/PKGBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/community/vym/PKGBUILD b/community/vym/PKGBUILD
new file mode 100644
index 000000000..c6f374423
--- /dev/null
+++ b/community/vym/PKGBUILD
@@ -0,0 +1,45 @@
+# $Id: PKGBUILD 85424 2013-03-01 10:42:25Z andrea $
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
+# Contributor: S�ren Holm <sgh@sgh.dk>
+
+pkgname=vym
+pkgver=2.2.4
+pkgrel=2
+pkgdesc="A mindmapping tool"
+arch=('i686' 'x86_64')
+url="http://www.insilmaril.de/vym/"
+license=('GPL')
+depends=('qt4' 'unzip' 'zip')
+options=('!emptydirs')
+changelog=$pkgname.changelog
+install=$pkgname.install
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2 \
+ $pkgname.desktop)
+sha256sums=('fa6d088327feae80c4c6760454fba64fe253a7de6e7e46f45a4c7f7db9b998f4'
+ 'e299c69c213e7aac3f5b5d0ab088132b4ec7cb63a391f272e75ed64f049d541b')
+
+build() {
+ cd "${srcdir}"/$pkgname-$pkgver
+
+ qmake PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/$pkgname-$pkgver
+
+# install files
+ make INSTALL_ROOT="${pkgdir}" install
+
+# correct doc location
+ install -d "${pkgdir}"/usr/share/doc/$pkgname
+ install -m644 doc/* "${pkgdir}"/usr/share/doc/$pkgname
+ rm -rf "${pkgdir}"/usr/share/doc/packages
+
+# .desktop and icon file
+ install -D -m644 "${srcdir}"/$pkgname.desktop \
+ "${pkgdir}"/usr/share/applications/$pkgname.desktop
+ install -D -m644 "${pkgdir}"/usr/share/vym/icons/$pkgname.png \
+ "${pkgdir}"/usr/share/pixmaps/$pkgname.png
+}