blob: 7e79aa683d278c1cb66d01075f4c6c8642f5e7fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Maintainer: Alex Tharp <toastercup@gmail.com>
# Original Maintainer: Muratcan Sisek <mail@muratcansimsek.com.tr>
pkgname=hiri
pkgver=1.4.0.5
pkgrel=1
pkgdesc="A cross-platform, Exchange-ready email client aiming to replace Outlook"
arch=('x86_64')
url="https://www.hiri.com/"
license=('custom')
provides=('hiri')
conflicts=('hiri')
makedepends=('xdg-utils')
install=$pkgname.install
source=('https://feedback.hiri.com/dist/downloads/Hiri-'$arch'-'$pkgver'.tar.gz'
'https://feedback.hiri.com/dist/downloads/license.txt'
'hiri.desktop'
'hiri.sh')
sha512sums=('3c9340a9aea70e33cd3414d9a521c953006191c3abb9c99580dab8f22ff2e74809c57ee732c85fede2199d53e64bf25498c887e55fcc84d9463dd5122a126d48'
'ae8274026cb1b68f9b3f4cb66348952e19e31d477602a3d6d529121010260727824d0a060303e10fa8c5661f0b336ceabb0b472ad1cb74835ff5d6f3d3d53636'
'4bf85f50fe25aa4980f97f5fdc5111d4e77af7268f70407f897252fc9cc4901f2d7d148172e242f33856b2839378996ca72c0314a9f8b3673e2449067b19baad'
'cafbf1f327618cb1d8914babf9cc9c2013b5db27df2a463329f9d366952c5ee592e946e727f991c8f7f558bdf7e625b91e0e029fa193650c197c6c9c6a57676d')
build () {
cd hiri_"$pkgver"
}
package() {
install -d "$pkgdir"/opt
cp -rup "hiri_$pkgver" "$pkgdir"/opt/$pkgname
install -d "$pkgdir"/usr/bin
ln -s /opt/$pkgname/hiri.sh "$pkgdir"/usr/bin/hiri
install -Dm644 $pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop
install -Dm755 $pkgname.sh "$pkgdir"/usr/bin/hiri
install -d "$pkgdir"/usr/share/icons/hicolor/128x128/apps
ln -s /opt/$pkgname/hiri.png "$pkgdir"/usr/share/icons/hicolor/128x128/apps/$pkgname.png
install -Dm644 license.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
|