summaryrefslogtreecommitdiff
path: root/pcr/emacs-tuareg-mode/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-11-13 16:36:26 -0200
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-11-13 16:36:26 -0200
commit8eba14b29abd2ce680d3dab6ba6f6cd0a6b5b918 (patch)
tree6f8599f56b8e678f80a534bdb3139ef57d69df32 /pcr/emacs-tuareg-mode/PKGBUILD
parent21ae83de97da28975c4ccf6208ed0454532852b5 (diff)
parente242c9f418786fb9d279119045d881aaec0a7ce4 (diff)
downloadabslibre-8eba14b29abd2ce680d3dab6ba6f6cd0a6b5b918.tar.gz
abslibre-8eba14b29abd2ce680d3dab6ba6f6cd0a6b5b918.tar.bz2
abslibre-8eba14b29abd2ce680d3dab6ba6f6cd0a6b5b918.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/emacs-tuareg-mode/PKGBUILD')
-rw-r--r--pcr/emacs-tuareg-mode/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/pcr/emacs-tuareg-mode/PKGBUILD b/pcr/emacs-tuareg-mode/PKGBUILD
new file mode 100644
index 000000000..eba2834e0
--- /dev/null
+++ b/pcr/emacs-tuareg-mode/PKGBUILD
@@ -0,0 +1,29 @@
+# Contributor: Limao Luo <luolimao+AUR@gmail.com>
+# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>
+
+pkgname=emacs-tuareg-mode
+pkgver=2.0.6
+pkgrel=2
+pkgdesc="Emacs tuareg mode for ocaml"
+arch=(any)
+url=https://forge.ocamlcore.org/projects/tuareg/
+license=(GPL)
+depends=(emacs)
+DLAGENTS=("https::/usr/bin/curl -fkLC - --retry 3 --retry-delay 3 -o %o %u")
+install=$pkgname.install
+source=(https://forge.ocamlcore.org/frs/download.php/882/tuareg-$pkgver.tar.gz)
+sha256sums=('ea79ac24623b82ab8047345f8504abca557a537e639d16ce1ac3e5b27f5b1189')
+sha512sums=('a7162daea30baa38bf1673b62ac545936a24b87b5e4d65329304ce5da68e151af1ef9f6e7720067f1f741614b3b6e1dfeab7080c4e9e7ebf14af594f3a0b0d46')
+
+build() {
+ cd "$srcdir"/tuareg-$pkgver/
+ make
+}
+
+package() {
+ cd "$srcdir"/tuareg-$pkgver/
+ for i in *.el{,c}; do
+ install -Dm644 $i "$pkgdir"/usr/share/emacs/site-lisp/tuareg/$i
+ done
+ install -Dm644 README "$pkgdir"/usr/share/doc/tuareg/README
+}