summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2018-10-03 22:37:41 +0200
committerhaawda2018-10-03 22:37:41 +0200
commit8605047003057d7e5ede9d2994c3487c71a5067f (patch)
tree36311c7615a7b138b2addf447872b33c42b4fbfd
parent4f5a8c90551812d7500947125a619fd6610ffd40 (diff)
downloadaur-8605047003057d7e5ede9d2994c3487c71a5067f.tar.gz
update
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD24
2 files changed, 14 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b7fca200654..9526f23c565 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,13 @@
-# Generated by mksrcinfo v8
-# Fri Aug 4 19:49:14 UTC 2017
pkgbase = emacs-git-timemachine
pkgdesc = Step through historic versions of git controlled file using everyone's favourite editor
- pkgver = 3.0
+ pkgver = 4.5
pkgrel = 1
- url = https://github.com/pidu/git-timemachine
- install = emacs-git-timemachine.install
+ url = https://gitlab.com/pidu/git-timemachine.git
arch = any
license = GPL3
depends = emacs
- source = emacs-git-timemachine-3.0.tar.gz::https://github.com/pidu/git-timemachine/archive/3.0.tar.gz
- sha256sums = 4ac73d87d6d5fbee96fad5f4f6cdf36b94d6ee227b80cdbd96363b9e4c068fd0
+ source = https://gitlab.com/pidu/git-timemachine/-/archive/4.5/git-timemachine-4.5.tar.gz
+ sha256sums = fe1713b455a4936a2cd39dbda39d26eb6386676778671ff4795a311b19062446
pkgname = emacs-git-timemachine
diff --git a/PKGBUILD b/PKGBUILD
index eb447567f9f..6ad746190b2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,24 @@
# Maintainer: Alex Whitt <alex.joseph.whitt@gmail.com>
-_pkgsrcname=git-timemachine
-_pkgmaintainer=pidu
-_pkgdestdirname=git-timemachine
-_versionprefix=
-pkgver=3.0
+pkgname=emacs-git-timemachine
+pkgver=4.5
pkgrel=1
pkgdesc="Step through historic versions of git controlled file using everyone's favourite editor"
-pkgname=emacs-${_pkgdestdirname}
arch=(any)
-url="https://github.com/${_pkgmaintainer}/${_pkgsrcname}"
+url="https://gitlab.com/pidu/git-timemachine.git"
license=('GPL3')
depends=('emacs')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/${_pkgmaintainer}/${_pkgsrcname}/archive/${_versionprefix}${pkgver}.tar.gz")
-sha256sums=('4ac73d87d6d5fbee96fad5f4f6cdf36b94d6ee227b80cdbd96363b9e4c068fd0')
-install=${pkgname}.install
+source=("https://gitlab.com/pidu/git-timemachine/-/archive/$pkgver/git-timemachine-$pkgver.tar.gz")
+sha256sums=('fe1713b455a4936a2cd39dbda39d26eb6386676778671ff4795a311b19062446')
build() {
- cd "${srcdir}/${_pkgsrcname}-${pkgver}"
+ cd ${pkgname#emacs-}-${pkgver}
emacs -q --no-splash -batch -L . -f batch-byte-compile *.el
}
package() {
- cd "${srcdir}/${_pkgsrcname}-${pkgver}"
- mkdir -p "${pkgdir}/usr/share/emacs/site-lisp/${_pkgdestdirname}/"
- install -m644 *.el{c,} "${pkgdir}/usr/share/emacs/site-lisp/${_pkgdestdirname}/"
+ cd ${pkgname#emacs-}-${pkgver}
+ install -d "$pkgdir"/usr/share/emacs/site-lisp/
+ install -m644 *.el{c,} "$pkgdir"/usr/share/emacs/site-lisp/
+ install -Dm644 README.md "$pkgdir"/usr/share/doc/$pkgname/README.md
}