summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-07-20 23:27:25 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-07-20 23:27:25 -0500
commit680413132f7008c26c6c5542cbad46528c5f1ce3 (patch)
treeae64afaf066217126862889d2260ec89f804e04c /pcr
parentb8f2ae7f1c37ba9f00c6d7e63a446e24e8a03c47 (diff)
libbinio-1.4-3: rebuild
Diffstat (limited to 'pcr')
-rw-r--r--pcr/libbinio/PKGBUILD10
-rw-r--r--pcr/libbinio/libbinio.install17
2 files changed, 8 insertions, 19 deletions
diff --git a/pcr/libbinio/PKGBUILD b/pcr/libbinio/PKGBUILD
index 329b0d831..8fd2032b8 100644
--- a/pcr/libbinio/PKGBUILD
+++ b/pcr/libbinio/PKGBUILD
@@ -1,13 +1,13 @@
-# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
-# Maintainer (AUR): Mikael Eriksson <mikael_eriksson@miffe.org>
+# Maintainer (Arch): Mikael Eriksson <mikael_eriksson@miffe.org>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
pkgname=libbinio
pkgver=1.4
-pkgrel=1
+pkgrel=3
pkgdesc="Binary I/O C++ class library"
url="http://libbinio.sourceforge.net"
arch=('i686' 'x86_64')
-license=('LGPL') # LGPLv2.1+
+license=('GPL')
depends=('gcc-libs')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2 eof.diff)
install=libbinio.install
@@ -30,7 +30,7 @@ build() {
package() {
cd "$srcdir/libbinio-$pkgver"
- make DESTDIR="$pkgdir" install
+ make "DESTDIR=$pkgdir" install
}
# vim:set ts=8 sts=2 sw=2 et:
diff --git a/pcr/libbinio/libbinio.install b/pcr/libbinio/libbinio.install
index 895af6344..085507a37 100644
--- a/pcr/libbinio/libbinio.install
+++ b/pcr/libbinio/libbinio.install
@@ -1,22 +1,11 @@
-infodir=usr/share/info
-filelist=(libbinio.info)
-
post_install() {
- [[ -x usr/bin/install-info ]] || return 0
- for file in "${filelist[@]}"; do
- install-info "$infodir/$file.gz" "$infodir/dir" 2> /dev/null
- done
+ test -x usr/bin/install-info && install-info usr/share/info/libbinio.info.gz usr/share/info/dir 2>/dev/null
}
post_upgrade() {
- post_install "$1"
+ test -x usr/bin/install-info && install-info usr/share/info/libbinio.info.gz usr/share/info/dir 2>/dev/null
}
pre_remove() {
- [[ -x usr/bin/install-info ]] || return 0
- for file in "${filelist[@]}"; do
- install-info --delete "$infodir/$file.gz" "$infodir/dir" 2> /dev/null
- done
+ test -x usr/bin/install-info && install-info --delete usr/share/info/libbinio.info.gz usr/share/info/dir 2>/dev/null
}
-
-# vim:set ts=2 sw=2 et: