diff options
Diffstat (limited to 'community/vym/PKGBUILD')
-rw-r--r-- | community/vym/PKGBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/community/vym/PKGBUILD b/community/vym/PKGBUILD new file mode 100644 index 000000000..294c474ad --- /dev/null +++ b/community/vym/PKGBUILD @@ -0,0 +1,44 @@ +# $Id: PKGBUILD 40005 2011-02-19 13:39:49Z jlichtblau $ +# 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=1.12.8 +pkgrel=1 +pkgdesc="A mindmapping tool" +arch=('i686' 'x86_64') +url="http://www.insilmaril.de/vym/" +license=('GPL') +depends=('qt' 'unzip' 'zip') +options=('!emptydirs') +changelog=$pkgname.changelog +source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2 \ + $pkgname.desktop) +sha256sums=('0b8a40a61460bef5d6423b3d0efef07d73328f7c789e95b7f3e1ac2f725f0643' + '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 +} |