[arch-commits] Commit in nedit/repos (3 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 13:24:15 UTC 2020


    Date: Tuesday, July 7, 2020 @ 13:24:14
  Author: felixonmars
Revision: 658446

archrelease: copy trunk to community-staging-x86_64

Added:
  nedit/repos/community-staging-x86_64/
  nedit/repos/community-staging-x86_64/PKGBUILD
    (from rev 658445, nedit/trunk/PKGBUILD)
  nedit/repos/community-staging-x86_64/nedit.desktop
    (from rev 658445, nedit/trunk/nedit.desktop)

---------------+
 PKGBUILD      |   36 ++++++++++++++++++++++++++++++++++++
 nedit.desktop |    7 +++++++
 2 files changed, 43 insertions(+)

Copied: nedit/repos/community-staging-x86_64/PKGBUILD (from rev 658445, nedit/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 13:24:14 UTC (rev 658446)
@@ -0,0 +1,36 @@
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=nedit
+pkgver=5.7
+pkgrel=4
+epoch=1
+pkgdesc="A Unix text editor for programmers and general users"
+arch=('x86_64')
+url="https://sourceforge.net/projects/nedit/"
+license=('GPL')
+depends=('openmotif')
+options=('!makeflags')
+source=(https://sourceforge.net/projects/nedit/files/nedit-source/${pkgname}-${pkgver}-src.tar.gz
+        nedit.desktop)
+sha1sums=('7cd264860ff75b4c64417aa09ca4ce03e4be2b4e'
+          '990c9c5aa90436b41974bf9cd79af479cba78ad0')
+
+prepare() {
+  cd ${pkgname}-${pkgver/a/}
+  sed -i 's|"/bin/csh"|"/bin/sh"|' source/preferences.c
+}
+
+build() {
+  cd ${pkgname}-${pkgver/a/}
+  make CFLAGS+="${CFLAGS} -DBUILD_UNTESTED_NEDIT" linux docs
+}
+
+package() {
+  cd ${pkgname}-${pkgver/a/}
+  install -Dm755 source/nedit "${pkgdir}/usr/bin/nedit"
+  install -Dm755 source/nc "${pkgdir}/usr/bin/nedit-client"
+  install -Dm644 doc/nedit.man "${pkgdir}/usr/share/man/man1/nedit.1"
+  install -Dm644 doc/nc.man "${pkgdir}/usr/share/man/man1/nedit-client.1"
+  install -Dm644 doc/nedit.html "${pkgdir}/usr/share/doc/nedit/nedit.html"
+  install -Dm644 ../nedit.desktop "${pkgdir}/usr/share/applications/nedit.desktop"
+}

Copied: nedit/repos/community-staging-x86_64/nedit.desktop (from rev 658445, nedit/trunk/nedit.desktop)
===================================================================
--- community-staging-x86_64/nedit.desktop	                        (rev 0)
+++ community-staging-x86_64/nedit.desktop	2020-07-07 13:24:14 UTC (rev 658446)
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Type=Application
+Name=NEdit
+Comment=Text Editor
+Exec=nedit %f
+Categories=Utility;TextEditor;
+MimeType=text/plain;


More information about the arch-commits mailing list