summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorNarthana Epa2015-06-15 12:16:16 -0400
committerNarthana Epa2015-06-15 12:16:16 -0400
commite335b7af74c8ca7df00f1c3fa771ee6f317518de (patch)
treeb2bfa0d24fe2ba5f037d40d3512bde881614158a /PKGBUILD
downloadaur-kile-autocompletenoblankline.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e6af44ba477
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Narthana Epa <narthana.epa+aur@gmail.com>
+# Contributor: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
+
+_upname=kile
+pkgname=kile-autocompletenoblankline
+pkgver=2.1.3
+pkgrel=1
+pkgdesc="Patched to not insert a black line after autocompleting an environment"
+arch=("i686" "x86_64")
+license=('GPL2')
+url="http://kile.sourceforge.net/"
+depends=('kdebase-runtime' 'texlive-core' 'kdebase-katepart')
+makedepends=('cmake' 'automoc4')
+conflicts=('kile')
+provides=("kile-${pkgver}")
+optdepends=('kdebase-konsole: embedded terminal')
+install=${_upname}.install
+source=("http://downloads.sourceforge.net/$_upname/$_upname-$pkgver.tar.bz2"
+ "autocomplete_noblankline.patch")
+sha1sums=('1a80748d5f01f359b5e5c28140ec90691f0166c5'
+ 'ffd0414d23b30eb68a0e60ad951e05002992322f')
+
+build() {
+ cd "${srcdir}/${_upname}-${pkgver}"
+ patch -p1 < ../autocomplete_noblankline.patch
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../${_upname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}"/build
+ make DESTDIR="${pkgdir}" install
+}