summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authororiginof2016-02-04 09:52:25 +0100
committeroriginof2016-02-04 09:52:25 +0100
commitb799b3ed059de1d269019373fc65cce8dcbfba46 (patch)
treec6376c36d0dfa33266b9e3e667b8fe423500c2f7
parenta525dfbf1bdb153efe28fa0679724ea11cf6dae1 (diff)
downloadaur-b799b3ed059de1d269019373fc65cce8dcbfba46.tar.gz
Split 32bit/64bit sources
-rw-r--r--PKGBUILD17
1 files changed, 9 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 06be6fe80ac..90f40c7c5ac 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,27 +1,28 @@
# Maintainer: Manuel Mazzuola <origin.of@gmail.com>
pkgname=turtl
pkgver=0.6.2
-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"
depends=('gendesk')
license=('GPL3')
-source=("https://turtl.it/releases/desktop/$pkgname-linux32-$pkgver.tar.bz2"
- "https://turtl.it/releases/desktop/$pkgname-linux64-$pkgver.tar.bz2"
- "turtl.png")
-md5sums=("2612da7a8664bb758b3742be5f7183ac"
- "224d568533ddf37b7759b8c1bf39cf01"
- "9e99b3fe83cb796343b7f1b21959f0d7")
+source=("turtl.png")
+source_i686=("https://turtl.it/releases/desktop/$pkgname-linux32-$pkgver.tar.bz2")
+source_x86_64=("https://turtl.it/releases/desktop/$pkgname-linux64-$pkgver.tar.bz2")
+md5sums=("9e99b3fe83cb796343b7f1b21959f0d7")
+md5sums_i686=("2612da7a8664bb758b3742be5f7183ac")
+md5sums_x86_64=("224d568533ddf37b7759b8c1bf39cf01")
[[ "$CARCH" = "i686" ]] && _pkg="turtl-linux32"
[[ "$CARCH" = "x86_64" ]] && _pkg="turtl-linux64"
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
+ gendesk -n --pkgname "$pkgname" --pkgdesc "$pkgdesc" --exec "$HOME/.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"
}