diff options
author | 2025-06-14 08:37:38 +0700 | |
---|---|---|
committer | 2025-06-14 09:57:21 +0700 | |
commit | af9a4c0ca89b0d134128235eb9bbff4c606469d1 (patch) | |
tree | 0da61d2f6d3843729cbee7b9207003217d5a65f0 | |
parent | 4d0e135c7ca9fbcd07f5ab082c190c573650b47c (diff) | |
download | slackbuilds-af9a4c0ca89b0d134128235eb9bbff4c606469d1.tar.gz slackbuilds-af9a4c0ca89b0d134128235eb9bbff4c606469d1.tar.xz |
development/edwood: Added (Rewrite of Plan 9).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | development/edwood/README | 4 | ||||
-rw-r--r-- | development/edwood/edwood.SlackBuild | 57 | ||||
-rw-r--r-- | development/edwood/edwood.info | 10 | ||||
-rw-r--r-- | development/edwood/slack-desc | 19 |
4 files changed, 90 insertions, 0 deletions
diff --git a/development/edwood/README b/development/edwood/README new file mode 100644 index 0000000000..bdf3adaeb6 --- /dev/null +++ b/development/edwood/README @@ -0,0 +1,4 @@ +Edwood is a rewrite of the Plan 9 Acme editor in Go. Currently, it +works best if you also have plan9port installed. You can read the +plan9port Acme manpage for details on how to use this editor. (eg. +9 man acme | less) diff --git a/development/edwood/edwood.SlackBuild b/development/edwood/edwood.SlackBuild new file mode 100644 index 0000000000..cc2f7070ce --- /dev/null +++ b/development/edwood/edwood.SlackBuild @@ -0,0 +1,57 @@ +#!/bin/bash +# Slackware build script for edwood +# Written by Dan-Simon Myrland <dansimon@radiotube.org> + +cd $(dirname $0) ; CWD=$(pwd) + +PRGNAM=edwood +VERSION=${VERSION:-0.3.1} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +find -L . \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +go build +install -Dm 2755 $PRGNAM $PKG/usr/bin/$PRGNAM +strip --strip-unneeded $PKG/usr/bin/$PRGNAM 2> /dev/null + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CONTRIBUTORS LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/development/edwood/edwood.info b/development/edwood/edwood.info new file mode 100644 index 0000000000..2dd1afd289 --- /dev/null +++ b/development/edwood/edwood.info @@ -0,0 +1,10 @@ +PRGNAM="edwood" +VERSION="0.3.1" +HOMEPAGE="https://github.com/rjkroege/edwood" +DOWNLOAD="https://github.com/rjkroege/edwood/archive/v0.3.1/edwood-0.3.1.tar.gz" +MD5SUM="1ee81ae4287ab521b57055d28f23cb30" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="plan9port google-go-lang" +MAINTAINER="Dan-Simon Myrland" +EMAIL="dansimon@radiotube.org" diff --git a/development/edwood/slack-desc b/development/edwood/slack-desc new file mode 100644 index 0000000000..dfe6dde4a8 --- /dev/null +++ b/development/edwood/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +edwood: edwood (text editor) +edwood: +edwood: Edwood is a rewrite of the Plan 9 Acme editor in Go. Currently, it +edwood: works best if you also have plan9port installed. You can read the +edwood: plan9port Acme manpage for details on how to use this editor. (eg. +edwood: 9 man acme | less) +edwood: +edwood: +edwood: +edwood: +edwood: |