desktop/kile/PKGBUILD

30 lines
811 B
Bash
Raw Normal View History

2010-05-31 04:12:24 +08:00
pkgname=kile
pkgver=2.9.92
2018-12-03 17:23:48 +08:00
pkgrel=2
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')
url="https://kile.sourceforge.net/"
2016-02-14 00:54:53 +08:00
screenshot="http://kile.sourceforge.net/images/screenshots/snap_structureview.png"
depends=('ktexteditor' 'kinit' 'okular' 'khtml' 'texlive-core')
makedepends=('extra-cmake-modules' 'kdoctools')
optdepends=('konsole: embedded terminal')
categories=('office')
2018-12-03 17:23:48 +08:00
source=("https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2")
2018-12-03 17:43:46 +08:00
sha256sums=('177372dc25b1d109e037a7dbfc64b5dab2efe538320c87f4a8ceada21e9097f2')
2010-05-31 04:12:24 +08:00
build() {
2018-12-03 18:20:49 +08:00
mkdir build
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 \
-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() {
2018-12-03 17:23:48 +08:00
cd build
2012-09-30 17:18:51 +08:00
make DESTDIR=$pkgdir install
2010-05-31 04:12:24 +08:00
}