summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 20 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c366c9c8b4e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+pkgname='geany-clang-complete-git'
+pkgver=20150309
+pkgrel=1
+pkgdesc='a Geany plugin to provide code completion (C/C++) using clang'
+arch=('x86_64' 'i686')
+license=('GPL')
+depends=('geany' 'clang')
+source=('git://github.com/notetau/geany-clang-complete.git')
+sha256sums=('SKIP')
+
+build() {
+ cd "${srcdir}/geany-clang-complete"
+ make
+}
+
+package() {
+ cd "${srcdir}/geany-clang-complete"
+ install -d "${pkgdir}/$(pkg-config --variable=libdir geany)/geany"
+ make install PREFIX="${pkgdir}/$(pkg-config --variable=libdir geany)/geany"
+}