summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Weidenbaum2015-06-09 11:41:58 -0700
committerAndy Weidenbaum2015-06-09 11:41:58 -0700
commitc5c4a9aeb10ad89cc81b89ac68489069db16b8ac (patch)
tree5e1a383abb0a7d854be424f47e7b1f44dc5b61e2
downloadaur-c5c4a9aeb10ad89cc81b89ac68489069db16b8ac.tar.gz
Initial import
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD25
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b6850d30d2c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+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
+ url = https://github.com/jszakmeister/rst2ctags
+ arch = any
+ license = BSD
+ depends = python
+ source = rst2ctags-0.1.4.tar.gz::https://codeload.github.com/jszakmeister/rst2ctags/tar.gz/v0.1.4
+ sha256sums = 80519b443c07804364812035d3ea9105b051abe169f78afc938806c4414a39b2
+
+pkgname = rst2ctags
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..39d242761aa
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Andy Weidenbaum <archbaum@gmail.com>
+
+pkgname=rst2ctags
+pkgver=0.1.4
+pkgrel=1
+pkgdesc="A simple script to help create ctags-compatible tag files for the sections within a reStructuredText document"
+arch=('any')
+depends=('python')
+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')
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ msg 'Installing license...'
+ install -Dm 644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
+
+ msg 'Installing documentation...'
+ install -Dm 644 README.rst "$pkgdir/usr/share/doc/$pkgname/README.rst"
+
+ msg 'Installing...'
+ install -Dm 755 rst2ctags.py "$pkgdir/usr/bin/rst2ctags"
+}