PKGBUILDs/community/vym/PKGBUILD

30 lines
1.1 KiB
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# Contributor: S<>ren Holm <sgh@sgh.dk>
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=vym
pkgver=1.12.2
pkgrel=3
pkgdesc="A mindmapping tool"
arch=('i686' 'x86_64')
url="http://www.insilmaril.de/vym/"
license=('GPL')
depends=('qt' 'zip' 'unzip')
options=('!emptydirs')
source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.pdf" \
"http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2" \
vym.desktop)
md5sums=('6bd7f6871b0945e5de72bbac927a9437' 'ff2dc8f2dad9bda128753ed94aed302d'\
'579eb60872d7449a2c03b14494b3f918')
build() {
cd $srcdir/$pkgname-$pkgver
qmake PREFIX=/usr || return 1
sed -i 's+usr/share/doc/packages/vym/+usr/share/doc/vym+g' Makefile || return 1
make || return 1
make INSTALL_ROOT=$pkgdir install || return 1
install -m644 doc/* $pkgdir/usr/share/doc/vym || return 1
install -Dm644 ../vym.desktop $pkgdir/usr/share/applications/vym.desktop || return 1
install -Dm644 ../vym-1.12.2.pdf $pkgdir/usr/share/doc/vym/vym.pdf || return 1
install -Dm644 $pkgdir/usr/share/vym/icons/vym.png \
$pkgdir/usr/share/pixmaps/vym.png || return 1
}