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

pkgname=emacs-apel
pkgver=10.8.20201107
_commit=4e3269b6e702db2dba48cf560563ac883e81e3bf
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+https://github.com/wanderlust/apel#commit=${_commit}")
sha256sums=('SKIP')

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

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