2015-07-03 01:32:27 +08:00
|
|
|
pkgname=vym
|
2016-10-15 16:05:27 +08:00
|
|
|
pkgver=2.6.0
|
2015-11-10 19:49:22 +08:00
|
|
|
pkgrel=1
|
2015-07-03 01:32:27 +08:00
|
|
|
pkgdesc="A mindmapping tool"
|
|
|
|
arch=('x86_64')
|
|
|
|
url="http://www.insilmaril.de/vym/"
|
|
|
|
license=('GPL')
|
2016-10-15 16:05:27 +08:00
|
|
|
depends=('qt5-base' 'qt5-svg' 'unzip' 'zip')
|
|
|
|
makedepends=('qt5-tools')
|
2015-07-03 01:32:27 +08:00
|
|
|
options=('!emptydirs')
|
|
|
|
install=$pkgname.install
|
|
|
|
screenshot="http://a.fsdn.com/con/app/proj/vym/screenshots/328321.jpg"
|
|
|
|
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2 \
|
|
|
|
$pkgname.desktop)
|
2016-10-15 16:05:27 +08:00
|
|
|
sha256sums=('7dc1721afb27109adc4b4aeaac6217fdd1294b38e81b33a08a476562fbdfa141'
|
2015-11-10 19:49:22 +08:00
|
|
|
'e299c69c213e7aac3f5b5d0ab088132b4ec7cb63a391f272e75ed64f049d541b')
|
2015-07-03 01:32:27 +08:00
|
|
|
|
2016-10-15 16:05:27 +08:00
|
|
|
prepare() {
|
|
|
|
cd "${srcdir}"/$pkgname-$pkgver/lang
|
|
|
|
|
|
|
|
lrelease-qt5 *.ts
|
|
|
|
}
|
|
|
|
|
2015-07-03 01:32:27 +08:00
|
|
|
build() {
|
|
|
|
cd ${srcdir}/$pkgname-$pkgver
|
|
|
|
|
2015-11-10 19:49:22 +08:00
|
|
|
qmake-qt5 PREFIX=/usr
|
2015-07-03 01:32:27 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}"/$pkgname-$pkgver
|
|
|
|
|
2015-11-10 19:49:22 +08:00
|
|
|
# install files
|
2015-07-03 01:32:27 +08:00
|
|
|
make INSTALL_ROOT="${pkgdir}" install
|
2015-11-10 19:49:22 +08:00
|
|
|
|
|
|
|
install -d ${pkgdir}/usr/share/{doc/$pkgname,man/man1,$pkgname}
|
2015-07-03 01:32:27 +08:00
|
|
|
|
|
|
|
install -D -m644 "${srcdir}"/$pkgname.desktop \
|
2015-11-10 19:49:22 +08:00
|
|
|
"${pkgdir}"/usr/share/applications/$pkgname.desktop
|
|
|
|
|
|
|
|
install -D -m644 icons/$pkgname-128x128.png \
|
|
|
|
"${pkgdir}"/usr/share/pixmaps/$pkgname.png
|
|
|
|
|
|
|
|
mv $pkgdir/usr/vym $pkgdir/usr/share
|
|
|
|
|
|
|
|
# correct doc location
|
|
|
|
mv doc/* "${pkgdir}"/usr/share/doc/$pkgname
|
|
|
|
mv "${pkgdir}"/usr/share/doc/vym/vym.1.gz "${pkgdir}"/usr/share/man/man1/
|
2015-07-03 01:32:27 +08:00
|
|
|
}
|