summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Goldsmith2016-03-01 14:59:55 -0500
committerAdam Goldsmith2016-03-01 14:59:55 -0500
commite17d5d7254460e83ffb9432c62a96b5b978ca37e (patch)
treeb33c2923a55cf983d0cf8ac9a0273871903f9072
parent475d0fc9954baf8cd49be3041bb311f4ba4fdfe8 (diff)
downloadaur-e17d5d7254460e83ffb9432c62a96b5b978ca37e.tar.gz
Remove old dependencies, add .desktop file
-rw-r--r--.SRCINFO6
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD16
-rw-r--r--Write.desktop9
4 files changed, 27 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2cac8ca53a5c..0d0cb78b4c4e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,9 @@
+# Generated by mksrcinfo v8
+# Tue Mar 1 19:58:50 UTC 2016
pkgbase = write_stylus
pkgdesc = Write(orignal name) - A word processor for handwriting
pkgver = 204
- pkgrel = 1
+ pkgrel = 2
url = http://www.styluslabs.com/
arch = i686
arch = x86_64
@@ -10,8 +12,10 @@ pkgbase = write_stylus
depends = libpng12
source = http://www.styluslabs.com/write/write204.tar.gz
source = http://www.styluslabs.com/write/eula.docx
+ source = Write.desktop
md5sums = 56e7af77784bdcc006b60ecffed8e938
md5sums = fafaef86844ead59b3837a5909bf780f
+ md5sums = be9d3bf8a1f4df8526120456f51da1bb
pkgname = write_stylus
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000000000000..c2fbe56b0235
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+/pkg/
+/src/
+/write*.tar.gz
+/eula.docx
+*.pkg.tar \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
index d540d8d77da3..d2822c611f13 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,24 +1,24 @@
-# Maintainer: Janosch Dobler <janosch.dobler [at} gmx [dot} de>
+# Maintainer: Adam Goldsmith <contact@adamgoldsmith.name>
+# Former Maintainer: Janosch Dobler <janosch.dobler [at} gmx [dot} de>
pkgname=write_stylus
pkgver=204
-pkgrel=1
+pkgrel=2
pkgdesc="Write(orignal name) - A word processor for handwriting"
arch=(i686 x86_64)
url="http://www.styluslabs.com/"
license=('custom')
depends=(qt4 libpng12)
-if [[ $CARCH == 'x86_64' ]]; then
- depends=(lib32-qt4 lib32-libpng12)
-fi
source=("http://www.styluslabs.com/write/write${pkgver}.tar.gz"
- "http://www.styluslabs.com/write/eula.docx")
+ "http://www.styluslabs.com/write/eula.docx"
+ "Write.desktop")
md5sums=('56e7af77784bdcc006b60ecffed8e938'
- 'fafaef86844ead59b3837a5909bf780f')
+ 'fafaef86844ead59b3837a5909bf780f'
+ 'be9d3bf8a1f4df8526120456f51da1bb')
package() {
- # use write_stylus instead of Writer
install -Dm755 "$srcdir/Write/Write" "$pkgdir/usr/bin/write_stylus"
install -Dm644 "$srcdir/eula.docx" "$pkgdir/usr/share/licenses/write_stylus/eula.docx"
+ install -Dm644 "$srcdir/Write.desktop" "$pkgdir/usr/share/applications/Write.desktop"
}
# vim:set ts=2 sw=2 et:
diff --git a/Write.desktop b/Write.desktop
new file mode 100644
index 000000000000..6e10d5d59335
--- /dev/null
+++ b/Write.desktop
@@ -0,0 +1,9 @@
+#!/usr/bin/env xdg-open
+[Desktop Entry]
+Type=Application
+Name=Write Stylus
+Comment=A word processor for handwriting
+
+Exec=/usr/bin/write_stylus %f
+Terminal=false
+Categories=Utility;TextEditor;