summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a38e5498c3ac56462bd7fe6da5cf9a867428240b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: Sergey Kostyaev <feo.me@ya.ru>
pkgname=distel
pkgver=20160223
pkgrel=1
pkgdesc="Distributed Emacs Lisp for Erlang."
arch=('i686' 'x86_64')
url="https://github.com/massemanet/distel"
license=('BSD')
depends=('erlang' 'emacs')
source=(${pkgname%-git}::git+https://github.com/massemanet/distel)
md5sums=('SKIP')

pkgver() {
  cd ${pkgname%-git}
  git log -1 --format="%cd" --date=short | sed "s|-||g"
}

build() {
  cd "$srcdir/${pkgname%-git}"

  export prefix=/usr
  make
}

package() {
  cd "$srcdir/${pkgname%-git}"

  export prefix=$pkgdir/usr
  make -e install
}

# vim:set ts=2 sw=2 et: