summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5b6efc8f56f1a7d3bd43fa61a9df3be34bfd2376 (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
# Maintainer: Marcin Mielniczuk <marmistrz@inboxalias.com>
pkgname=cbvike
pkgver=0.2.1
pkgrel=5
pkgdesc="VIM plugin for Code::Blocks "
arch=("x86_64" "i686")
url="http://forums.codeblocks.org/index.php?topic=19281.0"
makedepends=("cmake" "codeblocks")
depends=("codeblocks")
# using ulrichard's CMakeLists.txt - it's the only change he made
source=("git://github.com/marmistrz/$pkgname.git")
md5sums=("SKIP")

build() {
	cd "$srcdir/$pkgname"
	mkdir build
	cd build
	cmake ..
	make
}

package() {
	cd "$srcdir/cbvike/build"
	install -Dm755 libcbVike.so "$pkgdir/usr/lib/codeblocks/plugins/libcbVike.so"
	install -Dm664 cbVike.zip "$pkgdir/usr/share/codeblocks/cbVike.zip"
}