blob: 5aa3e610e25dc66bfeefea9222b0f6390538da23 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Contributor: Emanuele Rossi <newdna1510@yahoo.it>
# Maintainer: (vmp) Roland Suchan <snrd at arcor dot de>
pkgname=qtrans
pkgver=0.3.3
pkgrel=1
pkgdesc='QTrans is a word translator for Qt5/KF5. It uses Babylon (*.dic) dictionaries and translates many languages.'
arch=('i686' 'x86_64')
#url='https://www.opendesktop.org/s/Apps/p/1127419/'
url="https://www.linux-apps.com/p/1127419/"
license=('GPL')
depends=('qt5-base' 'kconfig5' 'ki18n5' 'ktextwidgets5' 'qt5-webengine' 'kcoreaddons5' 'python' 'kxmlgui5' 'kwidgetsaddons5' 'zlib' 'hicolor-icon-theme' 'extra-cmake-modules')
#depends=('qt5-webkit' 'kxmlgui' 'hicolor-icon-theme')
#optdepends=('')
makedepends=('git')
source=("https://sourceforge.net/projects/qtrans0/files/kf5/0.3.3/qtrans-0.3.3.tar.gz")
sha256sums=('1830c11997daf9203cef4ff94a70ac48271ab2bf8152e2d279ae8f1de25247a9')
prepare() {
mkdir -p build
}
build() {
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release ../$pkgname-$pkgver
make
}
package() {
cd build
make DESTDIR=${pkgdir} install
}
|