From 55a814f9ffbde8bb6249d53f25aff8f8afea9a1e Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 28 Jan 2017 17:55:05 -0500 Subject: update ~lukeshu/emacsutils --- ~lukeshu/emacsutils-git/PKGBUILD | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to '~lukeshu') diff --git a/~lukeshu/emacsutils-git/PKGBUILD b/~lukeshu/emacsutils-git/PKGBUILD index 5601d8dba..3ade5d27f 100644 --- a/~lukeshu/emacsutils-git/PKGBUILD +++ b/~lukeshu/emacsutils-git/PKGBUILD @@ -3,32 +3,39 @@ _pkgname=emacsutils pkgname=$_pkgname-git -pkgver=20141202 -_gitver=d4ff19f0033e96f9a61fc9b094b038426735c834 +_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) -conflicts=($_pkgname) +provides=("$_pkgname=$_pkgver") +conflicts=("$_pkgname") pkgrel=1 arch=('any') depends=('emacs') source=("https://repo.parabola.nu/other/~lukeshu/$_pkgname/$pkgname-$pkgver.tar.gz") -md5sums=('bcd8cbe2a9ed8ef32aef7ee35bdfd1c5') +md5sums=('94f694263ce6e4081c6f1a44e4aeb4e0') mkdepends=('git') -mksource=("$pkgname-$pkgver::git://lukeshu.com/$_pkgname.git#commit=$_gitver") +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 prefix=/usr + make VERSION=${_pkgver}.${pkgver} prefix=/usr } package() { cd "$srcdir/$pkgname-$pkgver" - make install prefix=/usr DESTDIR="$pkgdir" + make install VERSION=${_pkgver}.${pkgver} prefix=/usr DESTDIR="$pkgdir" } -- cgit v1.2.3