# Maintainer: Luke Shumaker _pkgname=emacsutils pkgname=$_pkgname-git _pkgver=0.9 pkgver=20170128 _gitver='commit=3f075458f0f80d53569302795887c41122478c26' pkgdesc="Utilities for interacting with GNU Emacs from a *NIX environment" url="https://lukeshu.com/git/$_pkgname.git" license=('GPL3') provides=("$_pkgname=$_pkgver") conflicts=("$_pkgname") pkgrel=1 arch=('any') depends=('emacs') source=("https://repo.parabola.nu/other/~lukeshu/$_pkgname/$pkgname-$pkgver.tar.gz") md5sums=('94f694263ce6e4081c6f1a44e4aeb4e0') mkdepends=('git') mksource=(".$pkgname-$pkgver::git://git.lukeshu.com/$_pkgname.git#$_gitver") mkmd5sums=('SKIP') mksource() { cd "$srcdir/.$pkgname-$pkgver" make dist mv "$_pkgname"-*/ ../"$pkgname-$pkgver" } build() { cd "$srcdir/$pkgname-$pkgver" make VERSION=${_pkgver}.${pkgver} prefix=/usr } package() { cd "$srcdir/$pkgname-$pkgver" make install VERSION=${_pkgver}.${pkgver} prefix=/usr DESTDIR="$pkgdir" }