~alpine/aports

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

Bradley Saulteaux <bradsoto@gmail.com>
Details
Message ID
<CAJNatn-hcruTy1-TtGc2k0FEvJKeyaJpN3PzU25cuRwf=1ERYg@mail.gmail.com>
Sender timestamp
1548260997
DKIM signature
missing
Download raw message
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
@@ -0,0 +1,38 @@
+# Maintainer: Bradley Saulteaux <bradsoto@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\/$@ -O
$@/scintilla\/archive\/$@/g' Makefile
+        sed -i -e 's/bombay\/archive\/tip.zip -O
$@/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 $@/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@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)