From ce4929063993aed4c30cadc5ae52c96e6da216f4 Mon Sep 17 00:00:00 2001 From: Emil Tomczyk Date: Mon, 24 May 2021 15:06:49 +0200 Subject: [PATCH 1/2] Added postman package --- srcpkgs/postman/files/postman.desktop | 10 ++++++++++ srcpkgs/postman/template | 28 +++++++++++++++++++++++++++ srcpkgs/postman/update | 2 ++ 3 files changed, 40 insertions(+) create mode 100644 srcpkgs/postman/files/postman.desktop create mode 100644 srcpkgs/postman/template create mode 100644 srcpkgs/postman/update diff --git a/srcpkgs/postman/files/postman.desktop b/srcpkgs/postman/files/postman.desktop new file mode 100644 index 000000000000..4ad27e8828f8 --- /dev/null +++ b/srcpkgs/postman/files/postman.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Postman +Comment=Postman +Exec=postman %U +Icon=/usr/share/pixmaps/postman.png +Terminal=false +Type=Application +Categories=GNOME;Application;Development; +StartupNotify=true diff --git a/srcpkgs/postman/template b/srcpkgs/postman/template new file mode 100644 index 000000000000..73e7665a7832 --- /dev/null +++ b/srcpkgs/postman/template @@ -0,0 +1,28 @@ +# Template file for 'postman' +pkgname=postman +version=8.5.1 +revision=2 +archs="x86_64" +hostmakedepends="tar gzip" +short_desc="Platform for API develpoment" +maintainer="Emil Tomczyk " +license="custom:Proprietary" +homepage="https://www.postman.com/" +distfiles="https://dl.pstmn.io/download/version/${version}/linux64" +checksum=e78b6b66af5a48a043c1f0abcf1e626da2168c1c47afdbc57b8d335d60ba3f8f +restricted=yes +repository="nonfree" +nopie=yes + +do_extract() { + tar zxf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/linux64 +} + +do_install() { + vlicense Postman/app/LICENSE + vinstall Postman/app/resources/app/assets/icon.png 644 usr/share/pixmaps postman.png + vinstall ${FILESDIR}/postman.desktop 644 usr/share/applications + mkdir ${DESTDIR}/usr/bin + vcopy Postman/app usr/lib/postman + ln -s ../lib/postman/Postman ${DESTDIR}/usr/bin/postman +} diff --git a/srcpkgs/postman/update b/srcpkgs/postman/update new file mode 100644 index 000000000000..6b1539630bfb --- /dev/null +++ b/srcpkgs/postman/update @@ -0,0 +1,2 @@ +site="https://slack.com/downloads/linux" +pattern='Version \K[\d.]+(?=)' From 8d6f04951195f4aefd903d5829f1c8ab607bf794 Mon Sep 17 00:00:00 2001 From: Emil Tomczyk Date: Mon, 24 May 2021 16:42:34 +0200 Subject: [PATCH 2/2] Cleanup --- srcpkgs/postman/update | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 srcpkgs/postman/update diff --git a/srcpkgs/postman/update b/srcpkgs/postman/update deleted file mode 100644 index 6b1539630bfb..000000000000 --- a/srcpkgs/postman/update +++ /dev/null @@ -1,2 +0,0 @@ -site="https://slack.com/downloads/linux" -pattern='Version \K[\d.]+(?=)'