summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Mazzuola2016-06-06 09:41:26 +0200
committerManuel Mazzuola2016-06-06 09:41:26 +0200
commit79e8c691859689d0d52ab91c47eb50bf15003e3f (patch)
tree6bd74f278b64e7a98b2c31f0a104dae7062177ed
parent79e437df7515efc5f062539a9ce50f8365da85c2 (diff)
downloadaur-79e8c691859689d0d52ab91c47eb50bf15003e3f.tar.gz
Link turtle exec to /usr/bin/turtl
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 02edb9bb1e2..d72bcb0e057 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = turtl
pkgdesc = Turtl lets you take notes, bookmark websites, and store documents for sensitive projects.
pkgver = 0.6.3
- pkgrel = 1
+ pkgrel = 2
url = https://turtl.it
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 8e50a2d3dfb..22aace42e7a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Manuel Mazzuola <origin.of@gmail.com>
pkgname=turtl
pkgver=0.6.3
-pkgrel=1
+pkgrel=2
pkgdesc="Turtl lets you take notes, bookmark websites, and store documents for sensitive projects."
arch=('i686' 'x86_64')
url="https://turtl.it"
@@ -20,9 +20,11 @@ md5sums_x86_64=('4acf738c198b5e4a67188bc3aa968d59')
package() {
cd "${_pkg}"
mkdir -p ${pkgdir}/opt/turtl
- ./install.sh ${pkgdir}/opt/turtl > /dev/null
+ mkdir -p ${pkgdir}/usr/bin
+ ./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"
+ ln -s "/opt/turtl/turtl" "${pkgdir}/usr/bin/turtl"
}