X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by lists.alpinelinux.org (Postfix) with ESMTP id 4258F5C6664 for ; Tue, 20 Nov 2018 20:26:07 +0000 (GMT) Received: by mail-wr1-f68.google.com with SMTP id x10so3339873wrs.8 for ; Tue, 20 Nov 2018 12:26:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=XhtjrvafDoJL9XYkXy9srF+quKYNtXFdMHsHcrZ1LZs=; b=FieBg7J/uq0/txzIA9Y3OHO8tN+nDPl92VpgTH7VI2YDmJjJ3WSwPiE/N5Jt3ThqH+ 2fb1GjkDIJAousJqzPTjjPZaVLr9TTLqWXyqM/U7xmdo3my/V6LB0IqWKG2BctW5+Qns NCGUlyspEOGytuVqpEImxf675MSiS2zK/C0R4Hw7F4p4lm+L7zrJKkVPAiLZ6NRQJNpT m6zPX8V3He6JyTF5PP2ziTNnyMH5ud0blaioan5JMIl4BBQ7uj0IX7TwWImTHLeAFPYR TTdJDnowmpYEV87RNPARvPnLsOdU+5LCXiPRMTCqlMoNdEn/2E4QrueGatcSjgwyG/AT 89XA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=XhtjrvafDoJL9XYkXy9srF+quKYNtXFdMHsHcrZ1LZs=; b=nzBiBdSTyuJIdlvfOGKJjhuFtn5a6GujlzeSSl8Eob2jQBF1Ty1mzvNDS24vg+atyd rdVcH7t84CLGgMiDLJp9QlrooXouaD8EfaPZCtTbIcj0rYN83XKCAjpmVaa5l1qDQdwB fhppH27y7GCQEEAmKc4zC6lgRdY67Et/cpyMNnfHMmJznPfIFubOcnXFUIYXTsdBDtSE M9+XfjP7xXvBOUmmMstczSwr0LSBoGOhNWt0VUIk3pgkS3LXKEnqhJhUxh8joGLLdMFF Q+NR10GfVmZdike+BYrq1rGK+UmhF71zK2P9XC/4kYyneIcbnQQyFK5CRN7SbfsrppeP GcPA== X-Gm-Message-State: AA+aEWYDqgOWNO87esVSsbDP8iL4ks+tdOiH0rIoLJH1G43pl3si4Cbf H9q1+0SH38y9WcP+kxxiYYYbVi/Z X-Google-Smtp-Source: AFSGD/WoXSZjmixJJTooItrexX0mUgK//4DVms/PNndpG90P/vuIeB8rU0Q0EuiclTCaYKxQ0f5Pew== X-Received: by 2002:adf:f785:: with SMTP id q5mr3486105wrp.9.1542745566292; Tue, 20 Nov 2018 12:26:06 -0800 (PST) Received: from alpine.nodomain (host-31-193-36-105-dynamic.telecomitaliasm.net. [31.193.36.105]) by smtp.gmail.com with ESMTPSA id 126-v6sm24333765wme.48.2018.11.20.12.26.05 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Nov 2018 12:26:05 -0800 (PST) From: Alex Raschi To: alpine-aports@lists.alpinelinux.org Subject: [alpine-aports] [PATCH 4/4] testing/neatvi: new aport Date: Tue, 20 Nov 2018 21:25:59 +0100 Message-Id: <20181120202559.16576-4-raschi.alex@gmail.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181120202559.16576-1-raschi.alex@gmail.com> References: <20181120202559.16576-1-raschi.alex@gmail.com> X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit https://github.com/aligrudi/neatvi vi/ex editor with support for bidirectional UTF-8 text, syntax highlight and infinite undo/redo --- testing/neatvi/APKBUILD | 37 +++++++++++++++++++++++++++++++++++++ testing/neatvi/conf.patch | 10 ++++++++++ 2 files changed, 47 insertions(+) create mode 100644 testing/neatvi/APKBUILD create mode 100644 testing/neatvi/conf.patch diff --git a/testing/neatvi/APKBUILD b/testing/neatvi/APKBUILD new file mode 100644 index 0000000000..acb1624224 --- /dev/null +++ b/testing/neatvi/APKBUILD @@ -0,0 +1,37 @@ +# Maintainer: Alex Raschi +pkgname=neatvi +pkgver=06 +pkgrel=0 +pkgdesc="vi/ex editor with support for bidirectional UTF-8 text, syntax highlight and infinite undo/redo" +url="https://github.com/aligrudi/neatvi" +arch="all" +license="ISC" # vi.c +subpackages="$pkgname-doc" +options="!check" # no test suite +source="$pkgname-$pkgver.tar.gz::https://github.com/aligrudi/$pkgname/archive/$pkgver.tar.gz + conf.patch" +builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$builddir" + make CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" +} + +package() { + local pkgbin="$pkgdir"/usr/bin + cd "$builddir" + mkdir -p "$pkgbin" + mv vi "$pkgbin"/neatvi +} + +doc() { + local pkgdoc="$subpkgdir"/usr/share/doc/"$pkgname" + cd "$builddir" + mkdir -p "$pkgdoc" + mv README "$pkgdoc" + + default_doc +} + +sha512sums="ff5850fc736afb33f57bcf738fc6eab346785caa5eff81fac567248eb0bede973731ca1791651d73d0157df170b6f07df3cd05ee4d8a6eb2090d51f92460d2b9 neatvi-06.tar.gz +d5538cf2bfb98b93d3661f686540580f754cd5fca641893b58cf80312ec703aa332601f68258335a71bdeb72356148a75db22ae139e05c04c060cfcb31f2fafd conf.patch" diff --git a/testing/neatvi/conf.patch b/testing/neatvi/conf.patch new file mode 100644 index 0000000000..1fdc92ddee --- /dev/null +++ b/testing/neatvi/conf.patch @@ -0,0 +1,10 @@ +--- a/conf.h.orig 2017-10-01 09:07:44.000000000 +0200 ++++ b/conf.h 2018-11-20 18:54:51.484850964 +0100 +@@ -12,6 +12,7 @@ static struct filetype { + {"mk", "Makefile$|makefile$|\\.mk$"}, /* makefile */ + {"sh", "\\.sh$"}, /* shell script */ + {"nm", "\\.nm$"}, /* neatmail */ ++ {"sh", ".$"}, /* everything else */ + }; + + /* syntax highlighting patterns */ -- 2.19.1 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---