summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitris Kiziridis2020-04-30 19:11:08 +0300
committerDimitris Kiziridis2020-04-30 19:11:08 +0300
commit520de87ca90d3fd2629c4415c784407b06a89903 (patch)
tree3ab1ff974c06ed5da971edc30c84d6a487b26db2
downloadaur-520de87ca90d3fd2629c4415c784407b06a89903.tar.gz
Initial commit
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD24
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3b0597c986c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = cudatext-gtk2-bin
+ pkgdesc = Cross-platform text editor, written in Lazarus
+ pkgver = 1.98.0
+ pkgrel = 1
+ url = http://uvviewsoft.com/cudatext/
+ arch = x86_64
+ license = MPL-2.0
+ depends = python
+ provides = cudatext
+ options = !strip
+ source = local://cudatext_1.98.0.0-1_gtk2_amd64.deb
+ sha256sums = 4cd2ae951a60d49147d104a7ad8938d5514d06c26af5942bdd9c5dd72d515bdc
+
+pkgname = cudatext-gtk2-bin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0b5a72bbb2b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>
+
+# You need to manually download the .deb file and place it where this
+# PKGBUILD is located, since FossHub does not allow static linking.
+# `https://www.fosshub.com/CudaText.html?dwl=cudatext_1.98.0.0-1_gtk2_amd64.deb`
+
+pkgname=cudatext-gtk2-bin
+pkgver=1.98.0
+pkgrel=1
+pkgdesc="Cross-platform text editor, written in Lazarus"
+arch=('x86_64')
+url="http://uvviewsoft.com/cudatext/"
+license=('MPL-2.0')
+depends=('python')
+provides=('cudatext')
+options=('!strip')
+source=("local://${pkgname%-gtk2-bin}_${pkgver}.0-1_gtk2_amd64.deb")
+sha256sums=('4cd2ae951a60d49147d104a7ad8938d5514d06c26af5942bdd9c5dd72d515bdc')
+
+package() {
+ tar xvf "${srcdir}/data.tar.xz" -C "${pkgdir}/"
+ mkdir -p "${pkgdir}/usr/share/licenses/${pkgname}"
+ ln -s /usr/share/licenses/common/MPL2/license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+} \ No newline at end of file