mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
35 lines
878 B
Bash
35 lines
878 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=kile
|
|
pkgver=2.1
|
|
pkgrel=1
|
|
pkgdesc="A user friendly TeX/LaTeX frontend for KDE."
|
|
arch=("i686" "x86_64")
|
|
license=('GPL2')
|
|
url="http://kile.sourceforge.net/"
|
|
depends=('kdelibs' 'texlive-core' 'docbook-xsl')
|
|
makedepends=('cmake' 'automoc4')
|
|
install=kile.install
|
|
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2")
|
|
md5sums=('9f76960ee477cc95f77a31a468b66e0a')
|
|
|
|
build() {
|
|
cd ${srcdir}
|
|
mkdir build
|
|
cd build
|
|
cmake ../${pkgname}-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_SKIP_RPATH=ON \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/build
|
|
make DESTDIR=$pkgdir install || return 1
|
|
}
|