blob: be5acfd2f90eb93af6e57c529f670951f748d23f (
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
34
35
36
37
38
39
40
41
42
|
# $Id: PKGBUILD 159260 2012-05-19 19:37:30Z ronald $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
# Maintainer (Parabola): Michał Masłowski <mtjm@mtjm.eu>
# Contributor (Parabola): André Silva <andre.paulista@adinet.com.uy>
_pkgname=kile
pkgname=kile-libre
pkgver=2.1.2
pkgrel=1
pkgdesc="A user friendly TeX/LaTeX frontend for KDE"
arch=("i686" "x86_64")
license=('GPL2')
url="http://kile.sourceforge.net/"
depends=('kdebase-runtime' 'texlive-core' 'kdebase-katepart')
makedepends=('cmake' 'automoc4')
conflicts=('kile')
replaces=('kile')
provides=('kile')
install=${_pkgname}.install
source=("http://downloads.sourceforge.net/$_pkgname/$_pkgname-$pkgver.tar.bz2"
"no-acroread.patch")
sha1sums=('238a8fde4fca00e06b314c13671ff53e2ac4845c'
'9bbe5d1b0e2a78b13667fcf4e5e21f801447f9d6')
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
# Don't recommend a nonfree PDF viewer.
patch -Np1 -i "${srcdir}/no-acroread.patch"
cd ..
mkdir build
cd build
cmake ../${_pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "${srcdir}"/build
make DESTDIR="${pkgdir}" install
}
|