blob: f35e0aaa1f621761547ca4b485fd02599c0acb32 (
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
|
# Maintainer: loh.tar <loh.tar at googlemail dot com>
# Thanks to kate-latex-plugin.git which was my starting point for this PKGBUILD
pkgname="kate-indexview-plugin"
_pkgname="KatePlugin-IndexView"
pkgver="0.8.2"
pkgrel="1"
pkgdesc="A fork from Kate's SymbolViewer plugin with a couple of improvements"
arch=("i686" "x86_64")
url="https://github.com/loh-tar/$_pkgname"
license=("LGPL")
depends=("kate")
makedepends=("cmake" "extra-cmake-modules")
source=("$pkgname-$pkgver.tar.gz::https://github.com/loh-tar/$_pkgname/archive/v$pkgver.tar.gz")
md5sums=('144dddbd4702fb7326e754b2d4ec87e0')
build()
{
if [[ -d ${srcdir}/build ]]; then
rm -rf "$srcdir/build"
fi
mkdir "$srcdir/build"; cd "$srcdir/build"
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
../"$_pkgname-$pkgver"/
make
}
package()
{
cd "$srcdir/build"
make DESTDIR="$pkgdir" install
}
|