summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authororiginof2016-02-04 10:48:04 +0100
committeroriginof2016-02-04 10:48:04 +0100
commitb60e0b0c2871eeb9ac6dc292c5b533f565fdc8fc (patch)
tree408220e7afb3e9724bc758f6d7a303c1e1128ad0
parent98aec554c75fc23c42d4ff931e1bd3a9ccf43ed2 (diff)
downloadaur-b60e0b0c2871eeb9ac6dc292c5b533f565fdc8fc.tar.gz
Move the application to /opt/turtl
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD10
2 files changed, 7 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 732a627cf31..742e4b61e7b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Thu Feb 4 08:56:05 UTC 2016
+# Thu Feb 4 09:47:52 UTC 2016
pkgbase = turtl
pkgdesc = Turtl lets you take notes, bookmark websites, and store documents for sensitive projects.
pkgver = 0.6.2
- pkgrel = 2
+ pkgrel = 3
url = https://turtl.it
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 90f40c7c5ac..7ad2ff3dd1d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Manuel Mazzuola <origin.of@gmail.com>
pkgname=turtl
pkgver=0.6.2
-pkgrel=2
+pkgrel=3
pkgdesc="Turtl lets you take notes, bookmark websites, and store documents for sensitive projects."
arch=('i686' 'x86_64')
url="https://turtl.it"
@@ -19,10 +19,10 @@ md5sums_x86_64=("224d568533ddf37b7759b8c1bf39cf01")
package() {
cd "${_pkg}"
- mkdir -p ${pkgdir}$HOME/.turtl
- ./install.sh ${pkgdir}$HOME/.turtl > /dev/null
- chown -R $USER ${pkgdir}$HOME/.turtl
- gendesk -n --pkgname "$pkgname" --pkgdesc "$pkgdesc" --exec "$HOME/.turtl/turtl" -f > /dev/null
+ mkdir -p ${pkgdir}/opt/turtl
+ ./install.sh ${pkgdir}/opt/turtl > /dev/null
+ rm -f "$HOME/.local/share/applications/turtl.desktop" > /dev/null
+ gendesk -n --pkgname "$pkgname" --pkgdesc "$pkgdesc" --exec "/opt/turtl/turtl" -f > /dev/null
install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
install -Dm644 ../"$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
}