aboutsummaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-10-11 22:32:24 +0200
committerMattias Andrée <maandree@operamail.com>2014-10-11 22:32:24 +0200
commit77f08b04332e2d2046f279c5b7f7b11713a56d6e (patch)
tree1795478d4857cd1612fcb923259202f2996ebb24 /dist
parentadd autocompletion (diff)
downloadauto-auto-complete-77f08b04332e2d2046f279c5b7f7b11713a56d6e.tar.gz
auto-auto-complete-77f08b04332e2d2046f279c5b7f7b11713a56d6e.tar.bz2
auto-auto-complete-77f08b04332e2d2046f279c5b7f7b11713a56d6e.tar.xz
update dist
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--dist/archlinux/stable/PKGBUILD11
-rw-r--r--dist/archlinux/stable/auto-auto-complete.install20
2 files changed, 26 insertions, 5 deletions
diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD
index da7b433..5abae8f 100644
--- a/dist/archlinux/stable/PKGBUILD
+++ b/dist/archlinux/stable/PKGBUILD
@@ -1,25 +1,26 @@
# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
pkgname=auto-auto-complete
-pkgver=3.1
+pkgver=4
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')
+makedepends=('make' 'sed' 'coreutils' 'python3' 'texinfo')
+install=auto-auto-complete.install
source=(https://github.com/maandree/auto-auto-complete/archive/$pkgver.tar.gz)
-sha256sums=(ed9ac5610debd6dde96201109f5fddb051e6d8140d172c1dece707f47f82033c)
+sha256sums=(0cc68e4a49a0168747597e7ff8bd58352a3747058097a69cec94f43fe67de0b3)
build() {
- cd auto-auto-complete-$pkgver
+ cd "auto-auto-complete-${pkgver}"
make
}
package() {
- cd auto-auto-complete-$pkgver
+ cd "auto-auto-complete-${pkgver}"
make DESTDIR="$pkgdir" install
}
diff --git a/dist/archlinux/stable/auto-auto-complete.install b/dist/archlinux/stable/auto-auto-complete.install
new file mode 100644
index 0000000..6744da8
--- /dev/null
+++ b/dist/archlinux/stable/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
+}
+