# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Ismael Barros (RazZziel) <razielmine@gmail.com>

pkgname=emacs-apel
pkgver=10.8.20170122
_commit=339eb28ffae3165255a79de9b1fd362f43cd37c3
pkgrel=2
pkgdesc="A library for making portable Emacs Lisp programs."
arch=(any)
url="https://github.com/wanderlust/apel"
license=('GPL')
depends=('emacs')
makedepends=('git')
source=("apel-$pkgver::git://github.com/wanderlust/apel#commit=${_commit}")
md5sums=('SKIP')

build() {
  cd "$srcdir"/apel-$pkgver
  make
}

package() {
  cd "$srcdir"/apel-$pkgver
  make install PREFIX="$pkgdir"/usr
}
