summaryrefslogtreecommitdiff
path: root/~lukeshu/emacsutils-git/PKGBUILD
blob: ac560f20aab334bf35f2d9bdaa5cf9f30063ac03 (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
33
34
# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>

_pkgname=emacsutils
pkgname=$_pkgname-git

pkgver=20141129
_gitver=77d0d249de22b399b1a87cb156837956ea4d7a65
pkgdesc="Utilities for interacting with GNU Emacs from a *NIX environment"
url="https://lukeshu.com/git/emacsutils.git"
license=('GPL3')

provides=($_pkgname)
conflicts=($_pkgname)

pkgrel=1
arch=('any')

depends=('emacs')
source=("https://repo.parabola.nu/other/~lukeshu/$_pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('ffe82524c542f872742ccd51fa71abe9')

mkdepends=('git')
mksource=("$pkgname-$pkgver::git://lukeshu.com/$_pkgname.git#commit=$_gitver")
mkmd5sums=('SKIP')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  make prefix=/usr
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make install prefix=/usr DESTDIR="$pkgdir"
}