diff options
author | Frederic Bezies | 2020-06-27 19:19:49 +0200 |
---|---|---|
committer | Frederic Bezies | 2020-06-27 19:19:49 +0200 |
commit | d73445be14877e681842174ce41e97b56e37c4aa (patch) | |
tree | d5403d79ece3731eb78ab71a2f74e7d3c39519d7 | |
parent | 7021bf66ad9856721c30490360d6e6d53d084a8b (diff) | |
download | aur-src-git.tar.gz |
adopted and updated PKGBUILD
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 18 |
2 files changed, 10 insertions, 16 deletions
@@ -1,18 +1,16 @@ -# Generated by makepkg 4.2.1 -# Mon Jun 1 13:54:26 UTC 2015 pkgbase = src-git pkgdesc = Simple Revision Control with modern UI for single-file projects - pkgver = 0.18.r0.gc89b187 + pkgver = 1.28.r2.g55adcbd pkgrel = 1 url = http://www.catb.org/esr/src/ arch = any license = BSD makedepends = asciidoc makedepends = git - depends = python2 + depends = python3 depends = rcs optdepends = rcs-fast-import: required for src fast-import - source = git+https://gitorious.org/src-vcs/src-vcs.git + source = git+https://gitlab.com/esr/src.git sha1sums = SKIP pkgname = src-git @@ -1,5 +1,6 @@ pkgname=src-git -pkgver=0.18.r0.gc89b187 +_pkgname=src +pkgver=1.28.r2.g55adcbd pkgrel=1 pkgdesc="Simple Revision Control with modern UI for single-file projects" @@ -7,26 +8,21 @@ url="http://www.catb.org/esr/src/" arch=('any') license=('BSD') -depends=('python2' 'rcs') +depends=('python3' 'rcs') optdepends=('rcs-fast-import: required for src fast-import') makedepends=('asciidoc' 'git') -source=('git+https://gitorious.org/src-vcs/src-vcs.git') +source=('git+https://gitlab.com/esr/src.git') sha1sums=('SKIP') pkgver() { - cd src-vcs - git describe --long | sed -r 's/([^-]*-g)/r\1/; s/-/./g' -} - -check() { - cd src-vcs - make check + cd $_pkgname + git describe --long --tags | sed -r 's/([^-]*-g)/r\1/; s/-/./g' } package() { - cd src-vcs + cd $_pkgname make DESTDIR="$pkgdir" prefix=/usr install install -Dm644 COPYING "$pkgdir"/usr/share/licenses/"$pkgname"/COPYING } |