summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAndrzej Giniewicz2015-07-07 21:33:32 +0200
committerAndrzej Giniewicz2015-07-07 21:33:32 +0200
commitd7fbd36f53ad55782f092f07e88e56ba35a3c807 (patch)
tree609fa2a5166f374b651c4340e4e2be1f8d3c3d5f /PKGBUILD
downloadaur-d7fbd36f53ad55782f092f07e88e56ba35a3c807.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3485f0215cd
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
+pkgname=emacs-langtool
+pkgver=1.2.3
+pkgrel=1
+pkgdesc="LanguageTool for Emacs"
+arch=('any')
+url="https://github.com/mhayashi1120/Emacs-langtool"
+license=('GPL')
+depends=('emacs' 'languagetool')
+options=(!emptydirs)
+
+source=("https://github.com/mhayashi1120/Emacs-langtool/archive/$pkgver.tar.gz" "languagetool.patch")
+md5sums=('c59b2a50f705b879922a32e3630cd735'
+ 'cf5b407289b3f72b0eb8f1784d4d93f6')
+
+build() {
+ cd "$srcdir"/Emacs-langtool-$pkgver
+
+ patch -p0 < ../languagetool.patch
+}
+
+package() {
+ cd "$srcdir"/Emacs-langtool-$pkgver
+ install -D -m644 langtool.el "${pkgdir}/usr/share/emacs/site-lisp/langtool.el"
+}
+