summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsballert2018-09-09 08:53:52 +0200
committersballert2018-09-09 08:53:52 +0200
commit38fa82529f2ee2fdb8ff37a744c5dee93ccd1e5e (patch)
treec6f6de526b3cffd18bd56eb13cffe96254b34148
downloadaur-38fa82529f2ee2fdb8ff37a744c5dee93ccd1e5e.tar.gz
Initial commit
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD34
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4fff6179428
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = emacs-projectile-git
+ pkgdesc = Project Interaction Library for Emacs
+ pkgver = r1591.62ef2ae
+ pkgrel = 1
+ url = https://github.com/bbatsov/projectile
+ arch = any
+ license = GPL3
+ makedepends = git
+ depends = emacs
+ depends = emacs-pkg-info
+ provides = emacs-projectile
+ conflicts = emacs-projectile
+ source = git+https://github.com/bbatsov/projectile.git
+ sha256sums = SKIP
+
+pkgname = emacs-projectile-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9857dec5be7
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: sballert <sballert@posteo.de>
+
+_gituser="bbatsov"
+_gitrepo="projectile"
+
+pkgname=emacs-projectile-git
+pkgver=r1591.62ef2ae
+pkgrel=1
+pkgdesc="Project Interaction Library for Emacs"
+url="https://github.com/${_gituser}/${_gitrepo}"
+arch=('any')
+license=('GPL3')
+depends=('emacs' 'emacs-pkg-info')
+makedepends=('git')
+provides=('emacs-projectile')
+conflicts=('emacs-projectile')
+source=("git+https://github.com/${_gituser}/${_gitrepo}.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$_gitrepo"
+ printf "r%s.%s" $(git rev-list --count HEAD) $(git rev-parse --short HEAD)
+}
+
+build() {
+ cd "$_gitrepo"
+ emacs -q --no-splash -batch -L . -f batch-byte-compile *.el
+}
+
+package() {
+ cd "$_gitrepo"
+ install -d "$pkgdir"/usr/share/emacs/site-lisp/${_gitrepo}/
+ install -m644 *.el{c,} "$pkgdir"/usr/share/emacs/site-lisp/${_gitrepo}/
+}