From ea84bca1814152542af21904c7e14a36be751d08 Mon Sep 17 00:00:00 2001 From: cat <25059103+cat-marin@users.noreply.github.com> Date: Sun, 30 Aug 2020 15:56:35 -0400 Subject: [PATCH 1/6] Add Write from Stylus Labs --- srcpkgs/write-styluslabs/template | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 srcpkgs/write-styluslabs/template diff --git a/srcpkgs/write-styluslabs/template b/srcpkgs/write-styluslabs/template new file mode 100644 index 00000000000..b4192b94016 --- /dev/null +++ b/srcpkgs/write-styluslabs/template @@ -0,0 +1,31 @@ +# Template file for 'Write' +pkgname=write-styluslabs +version=3.0.0 +revision=1 +archs="x86_64" +wrksrc="Write" +depends="SDL2" +short_desc="A word processor for handwriting" +maintainer="Cat Marin " +license="custom:Proprietary" +homepage="http://www.styluslabs.com/" +distfiles="http://www.styluslabs.com/write/write-latest.tar.gz" +checksum="ec7c8a59f453574aa272d859e4c926eab48122d4965644871bf7cbe3d4703c40" +repository=nonfree +restricted=yes + +do_install() { + local package_location="opt/$pkgname" item + vmkdir usr/share/pixmaps + vcopy Write144x144.png /usr/share/pixmaps + vmkdir usr/share/applications + vcopy Write.desktop /usr/share/applications + vmkdir ${package_location} + chmod +x Write + for item in Write DroidSansFallback.ttf Intro.svg Roboto-Regular.ttf; do + vcopy "Write" "${package_location}" + vcopy "${item}" "${package_location}" + done + vmkdir usr/bin + ln -sfr $DESTDIR/${package_location}/Write $DESTDIR/usr/bin/write-styluslabs +} From f3c71f67a8765971cab2b3a58718df1afdfccb9d Mon Sep 17 00:00:00 2001 From: cat <25059103+cat-marin@users.noreply.github.com> Date: Sun, 30 Aug 2020 17:01:12 -0400 Subject: [PATCH 2/6] Update Write.desktop to reflect proper binary location --- srcpkgs/write-styluslabs/template | 1 + 1 file changed, 1 insertion(+) diff --git a/srcpkgs/write-styluslabs/template b/srcpkgs/write-styluslabs/template index b4192b94016..a40a30f85b6 100644 --- a/srcpkgs/write-styluslabs/template +++ b/srcpkgs/write-styluslabs/template @@ -19,6 +19,7 @@ do_install() { vmkdir usr/share/pixmaps vcopy Write144x144.png /usr/share/pixmaps vmkdir usr/share/applications + sed -i 's|/opt/Write/Write|/opt/write-stylus/Write|g' Write.desktop vcopy Write.desktop /usr/share/applications vmkdir ${package_location} chmod +x Write From 747351106d77d2b5176d4ae36d95eaf6db779449 Mon Sep 17 00:00:00 2001 From: cat Date: Sun, 30 Aug 2020 23:27:52 -0400 Subject: [PATCH 3/6] Install to /usr instead of /opt --- srcpkgs/write-styluslabs/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/write-styluslabs/template b/srcpkgs/write-styluslabs/template index a40a30f85b6..078faee6e11 100644 --- a/srcpkgs/write-styluslabs/template +++ b/srcpkgs/write-styluslabs/template @@ -15,11 +15,11 @@ repository=nonfree restricted=yes do_install() { - local package_location="opt/$pkgname" item + local package_location="usr/lib/$pkgname" item vmkdir usr/share/pixmaps vcopy Write144x144.png /usr/share/pixmaps vmkdir usr/share/applications - sed -i 's|/opt/Write/Write|/opt/write-stylus/Write|g' Write.desktop + sed -i "s|/opt/Write/Write|/usr/lib/$pkgname/Write|g" Write.desktop vcopy Write.desktop /usr/share/applications vmkdir ${package_location} chmod +x Write From 9f49c00cce504f7b93931e461485d9321506e885 Mon Sep 17 00:00:00 2001 From: cat-marin <25059103+cat-marin@users.noreply.github.com> Date: Mon, 31 Aug 2020 00:22:53 -0400 Subject: [PATCH 4/6] Remove A, change template comment --- srcpkgs/write-styluslabs/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/write-styluslabs/template b/srcpkgs/write-styluslabs/template index 078faee6e11..4399584145a 100644 --- a/srcpkgs/write-styluslabs/template +++ b/srcpkgs/write-styluslabs/template @@ -1,11 +1,11 @@ -# Template file for 'Write' +# Template file for 'write-styluslabs' pkgname=write-styluslabs version=3.0.0 revision=1 archs="x86_64" wrksrc="Write" depends="SDL2" -short_desc="A word processor for handwriting" +short_desc="Word processor for handwriting" maintainer="Cat Marin " license="custom:Proprietary" homepage="http://www.styluslabs.com/" From 826836a7310ae5e8d458d2ea9bd1470005393ba4 Mon Sep 17 00:00:00 2001 From: cat <25059103+cat-marin@users.noreply.github.com> Date: Sun, 30 Aug 2020 15:56:35 -0400 Subject: [PATCH 5/6] Add Write from Stylus Labs Update Write.desktop to reflect proper binary location Install to /usr instead of /opt Remove A, change template comment --- srcpkgs/write-styluslabs/template | 32 +++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 srcpkgs/write-styluslabs/template diff --git a/srcpkgs/write-styluslabs/template b/srcpkgs/write-styluslabs/template new file mode 100644 index 00000000000..4399584145a --- /dev/null +++ b/srcpkgs/write-styluslabs/template @@ -0,0 +1,32 @@ +# Template file for 'write-styluslabs' +pkgname=write-styluslabs +version=3.0.0 +revision=1 +archs="x86_64" +wrksrc="Write" +depends="SDL2" +short_desc="Word processor for handwriting" +maintainer="Cat Marin " +license="custom:Proprietary" +homepage="http://www.styluslabs.com/" +distfiles="http://www.styluslabs.com/write/write-latest.tar.gz" +checksum="ec7c8a59f453574aa272d859e4c926eab48122d4965644871bf7cbe3d4703c40" +repository=nonfree +restricted=yes + +do_install() { + local package_location="usr/lib/$pkgname" item + vmkdir usr/share/pixmaps + vcopy Write144x144.png /usr/share/pixmaps + vmkdir usr/share/applications + sed -i "s|/opt/Write/Write|/usr/lib/$pkgname/Write|g" Write.desktop + vcopy Write.desktop /usr/share/applications + vmkdir ${package_location} + chmod +x Write + for item in Write DroidSansFallback.ttf Intro.svg Roboto-Regular.ttf; do + vcopy "Write" "${package_location}" + vcopy "${item}" "${package_location}" + done + vmkdir usr/bin + ln -sfr $DESTDIR/${package_location}/Write $DESTDIR/usr/bin/write-styluslabs +} From 38ff90268614a4416be020d1b23b97be9680f261 Mon Sep 17 00:00:00 2001 From: cat <25059103+cat-marin@users.noreply.github.com> Date: Sun, 30 Aug 2020 15:56:35 -0400 Subject: [PATCH 6/6] New package: write-styluslabs-3.0.0. Update Write.desktop to reflect proper binary location Install to /usr instead of /opt Remove A, change template comment --- srcpkgs/write-styluslabs/template | 32 +++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 srcpkgs/write-styluslabs/template diff --git a/srcpkgs/write-styluslabs/template b/srcpkgs/write-styluslabs/template new file mode 100644 index 00000000000..4399584145a --- /dev/null +++ b/srcpkgs/write-styluslabs/template @@ -0,0 +1,32 @@ +# Template file for 'write-styluslabs' +pkgname=write-styluslabs +version=3.0.0 +revision=1 +archs="x86_64" +wrksrc="Write" +depends="SDL2" +short_desc="Word processor for handwriting" +maintainer="Cat Marin " +license="custom:Proprietary" +homepage="http://www.styluslabs.com/" +distfiles="http://www.styluslabs.com/write/write-latest.tar.gz" +checksum="ec7c8a59f453574aa272d859e4c926eab48122d4965644871bf7cbe3d4703c40" +repository=nonfree +restricted=yes + +do_install() { + local package_location="usr/lib/$pkgname" item + vmkdir usr/share/pixmaps + vcopy Write144x144.png /usr/share/pixmaps + vmkdir usr/share/applications + sed -i "s|/opt/Write/Write|/usr/lib/$pkgname/Write|g" Write.desktop + vcopy Write.desktop /usr/share/applications + vmkdir ${package_location} + chmod +x Write + for item in Write DroidSansFallback.ttf Intro.svg Roboto-Regular.ttf; do + vcopy "Write" "${package_location}" + vcopy "${item}" "${package_location}" + done + vmkdir usr/bin + ln -sfr $DESTDIR/${package_location}/Write $DESTDIR/usr/bin/write-styluslabs +}