diff options
author | Mattias Andrée | 2015-12-02 05:33:45 +0100 |
---|---|---|
committer | Mattias Andrée | 2015-12-02 05:33:45 +0100 |
commit | bf7a63b206dc89bb6c24ae86f8da3cd92f101b17 (patch) | |
tree | dfa0268684584813fc037f882bfd502774272392 | |
parent | feca1c609918d4a6cf0b8fbcfab03c0d56a13a08 (diff) | |
download | aur-bf7a63b206dc89bb6c24ae86f8da3cd92f101b17.tar.gz |
Update to 1.1
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 8 | ||||
-rw-r--r-- | exec-as.install | 20 |
3 files changed, 29 insertions, 7 deletions
@@ -1,8 +1,9 @@ pkgbase = exec-as pkgdesc = A command that lets you start another command with any argv[0] - pkgver = 1 + pkgver = 1.1 pkgrel = 1 url = https://github.com/maandree/exec-as + install = exec-as.install arch = i686 arch = x86_64 license = GPL3 @@ -10,9 +11,10 @@ pkgbase = exec-as makedepends = coreutils makedepends = gcc makedepends = glibc + makedepends = texinfo depends = glibc - source = https://github.com/maandree/exec-as/archive/1.tar.gz - sha256sums = 7327f390331a02ea4b6b09d3ae2f379a70249a8741eb20a1c6a94ea6c512ed2d + source = https://github.com/maandree/exec-as/archive/1.1.tar.gz + sha256sums = 7dd73559c42cdb047dd74d735642f0a4f39790b16d44f23841935e69da926f4d pkgname = exec-as @@ -1,17 +1,17 @@ # Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> pkgname=exec-as -pkgver=1 +pkgver=1.1 pkgrel=1 pkgdesc="A command that lets you start another command with any argv[0]" arch=(i686 x86_64) url="https://github.com/maandree/exec-as" license=('GPL3') depends=(glibc) -makedepends=(make coreutils gcc glibc) -#install=exec-as.install +makedepends=(make coreutils gcc glibc texinfo) +install=exec-as.install source=($url/archive/$pkgver.tar.gz) -sha256sums=(7327f390331a02ea4b6b09d3ae2f379a70249a8741eb20a1c6a94ea6c512ed2d) +sha256sums=(7dd73559c42cdb047dd74d735642f0a4f39790b16d44f23841935e69da926f4d) build() { diff --git a/exec-as.install b/exec-as.install new file mode 100644 index 00000000000..e25e4f0abb7 --- /dev/null +++ b/exec-as.install @@ -0,0 +1,20 @@ +_file="exec-as" + +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 +} + |