diff options
author | Andy Weidenbaum | 2015-12-16 10:04:14 -0800 |
---|---|---|
committer | Andy Weidenbaum | 2015-12-16 10:04:14 -0800 |
commit | 1dfa5851e89a0f20000ea7dceafe2ba9c8d82ae7 (patch) | |
tree | d25cfd6c200275fecaee243c24bfae03d7dfcf40 | |
parent | c5c4a9aeb10ad89cc81b89ac68489069db16b8ac (diff) | |
download | aur-1dfa5851e89a0f20000ea7dceafe2ba9c8d82ae7.tar.gz |
increment pkgrel to 2; python2 fix
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 19 insertions, 9 deletions
@@ -1,11 +1,13 @@ +# Generated by mksrcinfo v8 +# Wed Dec 16 18:03:51 UTC 2015 pkgbase = rst2ctags pkgdesc = A simple script to help create ctags-compatible tag files for the sections within a reStructuredText document pkgver = 0.1.4 - pkgrel = 1 + pkgrel = 2 url = https://github.com/jszakmeister/rst2ctags arch = any license = BSD - depends = python + depends = python2 source = rst2ctags-0.1.4.tar.gz::https://codeload.github.com/jszakmeister/rst2ctags/tar.gz/v0.1.4 sha256sums = 80519b443c07804364812035d3ea9105b051abe169f78afc938806c4414a39b2 @@ -1,25 +1,33 @@ # Maintainer: Andy Weidenbaum <archbaum@gmail.com> +# Contributor: David Vogt <dave at winged dot ch> pkgname=rst2ctags pkgver=0.1.4 -pkgrel=1 +pkgrel=2 pkgdesc="A simple script to help create ctags-compatible tag files for the sections within a reStructuredText document" arch=('any') -depends=('python') +depends=('python2') url="https://github.com/jszakmeister/rst2ctags" license=('BSD') source=($pkgname-$pkgver.tar.gz::https://codeload.github.com/jszakmeister/$pkgname/tar.gz/v$pkgver) sha256sums=('80519b443c07804364812035d3ea9105b051abe169f78afc938806c4414a39b2') +prepare() { + cd "$srcdir/$pkgname-$pkgver" + + msg2 'Fixing Python version...' + sed -i -e 's,^#!/usr/bin/env python,#!/usr/bin/env python2,' rst2ctags.py +} + package() { cd "$srcdir/$pkgname-$pkgver" - msg 'Installing license...' - install -Dm 644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt" + msg2 'Installing license...' + install -Dm 644 LICENSE.txt -t "$pkgdir/usr/share/licenses/$pkgname" - msg 'Installing documentation...' - install -Dm 644 README.rst "$pkgdir/usr/share/doc/$pkgname/README.rst" + msg2 'Installing documentation...' + install -Dm 644 README.rst -t "$pkgdir/usr/share/doc/$pkgname" - msg 'Installing...' + msg2 'Installing...' install -Dm 755 rst2ctags.py "$pkgdir/usr/bin/rst2ctags" } |