summaryrefslogtreecommitdiff
path: root/~lukeshu/emacsutils-git/PKGBUILD
blob: 5601d8dba8ddb762ddd1d863cce4aa4c4cb9dd5d (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=20141202
_gitver=d4ff19f0033e96f9a61fc9b094b038426735c834
pkgdesc="Utilities for interacting with GNU Emacs from a *NIX environment"
url="https://lukeshu.com/git/$_pkgname.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=('bcd8cbe2a9ed8ef32aef7ee35bdfd1c5')

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"
}