summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée2015-12-02 05:33:45 +0100
committerMattias Andrée2015-12-02 05:33:45 +0100
commitbf7a63b206dc89bb6c24ae86f8da3cd92f101b17 (patch)
treedfa0268684584813fc037f882bfd502774272392
parentfeca1c609918d4a6cf0b8fbcfab03c0d56a13a08 (diff)
downloadaur-bf7a63b206dc89bb6c24ae86f8da3cd92f101b17.tar.gz
Update to 1.1
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD8
-rw-r--r--exec-as.install20
3 files changed, 29 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7c98afeb050..d1e5cf61bef 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 649b50efe5d..25d2b7e1fe3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
+}
+