[arch-commits] Commit in ht/repos (6 files)

Evangelos Foutras foutrelis at archlinux.org
Mon Sep 7 09:28:00 UTC 2015


    Date: Monday, September 7, 2015 @ 11:28:00
  Author: foutrelis
Revision: 139455

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  ht/repos/community-staging-i686/
  ht/repos/community-staging-i686/PKGBUILD
    (from rev 139454, ht/trunk/PKGBUILD)
  ht/repos/community-staging-i686/ht.install
    (from rev 139454, ht/trunk/ht.install)
  ht/repos/community-staging-x86_64/
  ht/repos/community-staging-x86_64/PKGBUILD
    (from rev 139454, ht/trunk/PKGBUILD)
  ht/repos/community-staging-x86_64/ht.install
    (from rev 139454, ht/trunk/ht.install)

-------------------------------------+
 community-staging-i686/PKGBUILD     |   34 ++++++++++++++++++++++++++++++++++
 community-staging-i686/ht.install   |   20 ++++++++++++++++++++
 community-staging-x86_64/PKGBUILD   |   34 ++++++++++++++++++++++++++++++++++
 community-staging-x86_64/ht.install |   20 ++++++++++++++++++++
 4 files changed, 108 insertions(+)

Copied: ht/repos/community-staging-i686/PKGBUILD (from rev 139454, ht/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-09-07 09:28:00 UTC (rev 139455)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: tardo <tardo at nagi-fanboi.net>
+# Contributor: Simon Morgan <"mra84964 at mra.pb.hx".decode('rot-13')>
+
+pkgname=ht
+pkgver=2.1.0
+pkgrel=3
+pkgdesc="A file editor/viewer/analyzer for executables"
+arch=('i686' 'x86_64')
+url="http://hte.sourceforge.net/"
+license=('GPL')
+depends=('gcc-libs' 'ncurses' 'lzo')
+makedepends=('texinfo')
+install=ht.install
+source=(http://downloads.sourceforge.net/sourceforge/hte/$pkgname-$pkgver.tar.bz2)
+md5sums=('09b2a4461d75e9cd03af1cd67fadc1ec')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  ./configure --disable-x11-textmode --enable-release --prefix=/usr
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  make DESTDIR=$pkgdir install
+  # avoid TeX conflict
+  mv $pkgdir/usr/bin/ht $pkgdir/usr/bin/hte
+  # doc
+  install -dm0755 $pkgdir/usr/share/{info,doc/ht}
+  install -m0644 doc/*.info $pkgdir/usr/share/info/
+  install -m0644 doc/{README,*.html} $pkgdir/usr/share/doc/ht/
+}

Copied: ht/repos/community-staging-i686/ht.install (from rev 139454, ht/trunk/ht.install)
===================================================================
--- community-staging-i686/ht.install	                        (rev 0)
+++ community-staging-i686/ht.install	2015-09-07 09:28:00 UTC (rev 139455)
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(ht.info hthelp.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
+}
+
+post_upgrade() {
+  post_install "$1"
+}
+
+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
+}

Copied: ht/repos/community-staging-x86_64/PKGBUILD (from rev 139454, ht/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-09-07 09:28:00 UTC (rev 139455)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: tardo <tardo at nagi-fanboi.net>
+# Contributor: Simon Morgan <"mra84964 at mra.pb.hx".decode('rot-13')>
+
+pkgname=ht
+pkgver=2.1.0
+pkgrel=3
+pkgdesc="A file editor/viewer/analyzer for executables"
+arch=('i686' 'x86_64')
+url="http://hte.sourceforge.net/"
+license=('GPL')
+depends=('gcc-libs' 'ncurses' 'lzo')
+makedepends=('texinfo')
+install=ht.install
+source=(http://downloads.sourceforge.net/sourceforge/hte/$pkgname-$pkgver.tar.bz2)
+md5sums=('09b2a4461d75e9cd03af1cd67fadc1ec')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  ./configure --disable-x11-textmode --enable-release --prefix=/usr
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  make DESTDIR=$pkgdir install
+  # avoid TeX conflict
+  mv $pkgdir/usr/bin/ht $pkgdir/usr/bin/hte
+  # doc
+  install -dm0755 $pkgdir/usr/share/{info,doc/ht}
+  install -m0644 doc/*.info $pkgdir/usr/share/info/
+  install -m0644 doc/{README,*.html} $pkgdir/usr/share/doc/ht/
+}

Copied: ht/repos/community-staging-x86_64/ht.install (from rev 139454, ht/trunk/ht.install)
===================================================================
--- community-staging-x86_64/ht.install	                        (rev 0)
+++ community-staging-x86_64/ht.install	2015-09-07 09:28:00 UTC (rev 139455)
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(ht.info hthelp.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
+}
+
+post_upgrade() {
+  post_install "$1"
+}
+
+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
+}



More information about the arch-commits mailing list