Mail archive
alpine-aports

[alpine-aports] [PATCH] testing/textadept: new aport

From: Bradley Saulteaux <bradsoto_at_gmail.com>
Date: Wed, 23 Jan 2019 09:29:57 -0700

https://foicica.com/textadept/
A fast, minimalist, and remarkably extensible cross-platform text editor
---
 testing/textadept/APKBUILD | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 testing/textadept/APKBUILD
diff --git a/testing/textadept/APKBUILD b/testing/textadept/APKBUILD
new file mode 100644
index 0000000000..86ea7aaf78
--- /dev/null
+++ b/testing/textadept/APKBUILD
_at_@ -0,0 +1,38 @@
+# Maintainer: Bradley Saulteaux <bradsoto_at_gmail.com>
+pkgname=textadept
+pkgver=10.2
+pkgrel=0
+pkgdesc="A fast, minimalist, and remarkably extensible cross-platform
text editor"
+url="https://foicica.com/textadept/"
+arch="all"
+license="MIT"
+depends="gtk+2.0"
+makedepends="curl"
+install=""
+subpackages=""
+source="${pkgname}-${pkgver}.zip::https://foicica.com/hg/textadept/archive/9418438a2ac4.zip"
+prepare() {
+ default_prepare
+        cd $srcdir/textadept-*/src/
+        sed -i -e 's/http:\/\/foicica.com/https:\/\/foicica.com/g'
Makefile
+        sed -i -e 's/wget https:\/\/foicica.com/curl -O
https:\/\/foicica.com/g' Makefile
+        sed -i -e 's/scintilla\/archive\/$_at_ -O
$_at_/scintilla\/archive\/$@/g' Makefile
+        sed -i -e 's/bombay\/archive\/tip.zip -O
$_at_/bombay\/archive\/tip.zip/g' Makefile
+        sed -i -e 's/bombay_zip = bombay.zip/bombay_zip = tip.zip/g'
Makefile
+        sed -i -e 's/wget $(gtdialog_url) -O $_at_/curl -O
$(gtdialog_url)/g' Makefile
+        make deps
+}
+build() {
+ cd $srcdir/textadept-*/src/
+ make
+}
+
+check() {
+ :
+}
+
+package() {
+ cd $srcdir/textadept-*/src/
+        make DESTDIR="$pkgdir" PREFIX="" install
+}
+sha512sums="739c5038afcde6e42c60c18bd000518236071adfc34989f0c06283c71a68b5a62262e364b5e533aeab636ee25e2af1f25ab6df7a0e16a365f15a37d46cc982c3
 textadept-10.2.zip"
-- 
2.20.1
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Wed Jan 23 2019 - 09:29:57 UTC