summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée2015-06-12 13:48:57 +0200
committerMattias Andrée2015-06-12 13:48:57 +0200
commitbfe5a252d3a6febc98f3750bce161c7b1eddffea (patch)
treecadc4937132174d148be6800c4e2714650ecca71
downloadaur-bfe5a252d3a6febc98f3750bce161c7b1eddffea.tar.gz
Initial import, version 7.1
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD26
-rw-r--r--auto-auto-complete.install20
3 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7fccd7bdf20
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = auto-auto-complete
+ pkgdesc = Autogenerate shell auto-completion scripts
+ pkgver = 7.1
+ pkgrel = 1
+ url = https://github.com/maandree/auto-auto-complete
+ install = auto-auto-complete.install
+ arch = any
+ license = GPL3
+ makedepends = make
+ makedepends = sed
+ makedepends = coreutils
+ makedepends = python3
+ makedepends = texinfo
+ depends = python3
+ source = https://github.com/maandree/auto-auto-complete/archive/7.1.tar.gz
+ sha256sums = 02639d1031c28529d247765587fdbb7afd6bed3a75381eae4846c747555cf24e
+
+pkgname = auto-auto-complete
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..83e9b88a05f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
+
+pkgname=auto-auto-complete
+pkgver=7.1
+pkgrel=1
+pkgdesc='Autogenerate shell auto-completion scripts'
+arch=('any')
+url='https://github.com/maandree/auto-auto-complete'
+license=('GPL3')
+depends=('python3')
+makedepends=('make' 'sed' 'coreutils' 'python3' 'texinfo')
+install=auto-auto-complete.install
+source=(https://github.com/maandree/auto-auto-complete/archive/$pkgver.tar.gz)
+sha256sums=(02639d1031c28529d247765587fdbb7afd6bed3a75381eae4846c747555cf24e)
+
+
+build() {
+ cd "auto-auto-complete-${pkgver}"
+ make
+}
+
+package() {
+ cd "auto-auto-complete-${pkgver}"
+ make DESTDIR="$pkgdir" install
+}
+
diff --git a/auto-auto-complete.install b/auto-auto-complete.install
new file mode 100644
index 00000000000..6744da8da8c
--- /dev/null
+++ b/auto-auto-complete.install
@@ -0,0 +1,20 @@
+_file="auto-auto-complete"
+
+infodir="usr/share/info"
+file="${_file}.info"
+
+
+post_install() {
+ [[ -x "usr/bin/install-info" ]] || return 0
+ install-info -- "${infodir}/${file}" "${infodir}/dir" 2> /dev/null
+}
+
+post_upgrade() {
+ post_install "$1"
+}
+
+pre_remove() {
+ [[ -x "usr/bin/install-info" ]] || return 0
+ install-info --delete -- "${infodir}/${file}" "${infodir}/dir" 2> /dev/null
+}
+