[arch-commits] Commit in dhex/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 13:48:46 UTC 2020


    Date: Tuesday, July 7, 2020 @ 13:48:46
  Author: felixonmars
Revision: 658602

archrelease: copy trunk to community-staging-x86_64

Added:
  dhex/repos/community-staging-x86_64/
  dhex/repos/community-staging-x86_64/PKGBUILD
    (from rev 658601, dhex/trunk/PKGBUILD)

----------+
 PKGBUILD |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

Copied: dhex/repos/community-staging-x86_64/PKGBUILD (from rev 658601, dhex/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 13:48:46 UTC (rev 658602)
@@ -0,0 +1,26 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+
+pkgname=dhex
+pkgver=0.69
+pkgrel=2
+pkgdesc="An ncurses-based hexeditor with a diff mode"
+arch=('x86_64')
+url="http://www.dettus.net/dhex/"
+license=('GPL')
+depends=('ncurses')
+source=("http://www.dettus.net/dhex/${pkgname}_${pkgver}.tar.gz")
+sha1sums=('f18020a8fd59839eb735bc8bba2624c9a8a7ae5c')
+
+build() {
+  cd "${srcdir}/${pkgname}_${pkgver}"
+  make LDFLAGS="$LDFLAGS" CPPFLAGS="$CPPFLAGS" CFLAGS="$CFLAGS"
+}
+
+package() {
+  cd "${srcdir}/${pkgname}_${pkgver}"
+  install -d "${pkgdir}"/usr/{bin,share}
+  install -d "${pkgdir}"/usr/man/man{1,5}
+  make DESTDIR="${pkgdir}/usr" install
+  mv "${pkgdir}/usr/man" "${pkgdir}/usr/share/man"
+}
+



More information about the arch-commits mailing list