2010-05-31 04:12:24 +08:00
|
|
|
pkgname=kile
|
2018-12-03 17:02:49 +08:00
|
|
|
pkgver=2.9.92
|
2017-10-28 08:59:06 +08:00
|
|
|
pkgrel=1
|
2010-05-31 04:12:24 +08:00
|
|
|
pkgdesc="A user friendly TeX/LaTeX frontend for KDE."
|
2016-02-14 00:54:53 +08:00
|
|
|
arch=("x86_64")
|
2010-05-31 04:12:24 +08:00
|
|
|
license=('GPL2')
|
2017-10-28 08:59:06 +08:00
|
|
|
url="https://kile.sourceforge.net/"
|
2016-02-14 00:54:53 +08:00
|
|
|
screenshot="http://kile.sourceforge.net/images/screenshots/snap_structureview.png"
|
2017-10-28 08:59:06 +08:00
|
|
|
depends=('ktexteditor' 'kinit' 'okular' 'khtml' 'texlive-core')
|
|
|
|
makedepends=('extra-cmake-modules' 'kdoctools')
|
|
|
|
optdepends=('konsole: embedded terminal')
|
2012-03-16 22:51:37 +08:00
|
|
|
categories=('office')
|
2017-10-28 08:59:06 +08:00
|
|
|
source=("https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"
|
|
|
|
kile-local-url.patch)
|
2018-12-03 17:02:49 +08:00
|
|
|
sha256sums=('177372dc25b1d109e037a7dbfc64b5dab2efe538320c87f4a8ceada21e9097f2'
|
2017-10-28 08:59:06 +08:00
|
|
|
'2cea79a285fe8b481d64088a87b0e6bccd1091a9ac08c934cdead7dcb7bd1fa3')
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
mkdir -p build
|
|
|
|
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
patch -p1 -i ../kile-local-url.patch # Fix opening local URLs
|
|
|
|
}
|
2010-05-31 04:12:24 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${srcdir}
|
2012-09-30 17:18:51 +08:00
|
|
|
cd build
|
2010-05-31 04:12:24 +08:00
|
|
|
cmake ../${pkgname}-${pkgver} \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
2017-10-28 08:59:06 +08:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
2012-09-30 17:18:51 +08:00
|
|
|
make
|
2010-05-31 04:12:24 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd ${srcdir}/build
|
2012-09-30 17:18:51 +08:00
|
|
|
make DESTDIR=$pkgdir install
|
2010-05-31 04:12:24 +08:00
|
|
|
}
|