summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaja2019-09-20 21:10:34 +0200
committerJaja2019-09-20 21:10:34 +0200
commit3ea10feca5a8696ea77d668ed768148ac5b404eb (patch)
treeb253acea1b6540d0cc494b02bbd922335506f90c
downloadaur-strans.tar.gz
Initial
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD33
-rw-r--r--supplementary.tar.xzbin0 -> 4864 bytes
3 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..75fd124418bf
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = strans
+ pkgdesc = intuitive string manipulation utility for the shell
+ pkgver = 0.0.5
+ pkgrel = 1
+ url = https://github.com/Inventitech/strans
+ arch = x86_64
+ license = GPL3
+ depends = zlib
+ optdepends = hicolor-icon-theme: icon
+ options = !strip
+ source = strans-0.0.5.AppImage::https://github.com/Inventitech/strans/releases/download/v0.0.5/strans-linux.AppImage
+ source = strans-icon.png::https://github.com/Inventitech/strans/raw/master/strans-icon.png
+ source = supplementary.tar.xz
+ md5sums = 02082e49cbcb72c1009046cccd091648
+ md5sums = f1cd390abcbe2585addb8105b22f7839
+ md5sums = 49226e40f62ca8f61011190f06b448d7
+
+pkgname = strans
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..4e6c234fa8c3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Jaja <jaja@mailbox.org>
+#
+
+pkgname=strans
+pkgver=0.0.5
+pkgrel=1
+pkgdesc="intuitive string manipulation utility for the shell"
+arch=('x86_64')
+url="https://github.com/Inventitech/strans"
+license=('GPL3')
+depends=('zlib')
+optdepends=('hicolor-icon-theme: icon')
+source=(
+ "${pkgname}"-"${pkgver}".AppImage::"https://github.com/Inventitech/strans/releases/download/v""${pkgver}""/strans-linux.AppImage"
+ strans-icon.png::"https://github.com/Inventitech/strans/raw/master/strans-icon.png"
+ "supplementary.tar.xz"
+ )
+md5sums=('02082e49cbcb72c1009046cccd091648'
+ 'f1cd390abcbe2585addb8105b22f7839'
+ '49226e40f62ca8f61011190f06b448d7')
+options=(!strip)
+
+package() {
+ ## file and directory permissions for mv and cp: u=rwx,g=rx,o=rx
+ umask 022
+ ## programm files
+ install -Dm755 "${srcdir}"/"${pkgname}"-"${pkgver}".AppImage "${pkgdir}"/usr/bin/"${pkgname}"
+ ## documentation
+ install -d "${pkgdir}"/usr/share/man
+ mv "${srcdir}"/manpages/* "${pkgdir}"/usr/share/man
+ ## .icon and .desktop files
+ install -Dm644 "${srcdir}"/strans-icon.png "${pkgdir}"/usr/share/icons/hicolor/256x256/apps/"${pkgname}".png
+}
diff --git a/supplementary.tar.xz b/supplementary.tar.xz
new file mode 100644
index 000000000000..5faa93cc0476
--- /dev/null
+++ b/supplementary.tar.xz
Binary files differ