Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# Maintainer: Alex Tharp <toastercup@gmail.com>
# Original Maintainer: Muratcan Sisek <mail@muratcansimsek.com.tr>
pkgname=hiri
pkgver=1.4.0.1
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=('94d2d4ace7148be70da7c531014ab5339a35157c15fe11b2a716e7f2d34d51d002f05e0fdfcb5d0de8d7e1ebcac0fb57ac4cfe73ceb7874d449c70575dfd3330'
'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
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.