blob: 46a6c71fc6f606debeff5689b4091cfa8f85ae82 (
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
|
# Maintainer: Renaud Littolff <rlittolff@gmail.com>
pkgname=insomnia
pkgver=3.6.6
pkgrel=2
pkgdesc="A simple and beautiful REST API and HTTP client"
arch=('i686' 'x86_64')
url="http://insomnia.rest/"
options=('!strip' '!upx')
source=("https://downloads.insomnia.rest/linux/insomnia-${pkgver}.deb")
md5sums=('887d582c91fef667731787da941c589e')
package() {
cd "${srcdir}"
tar -xf data.tar.xz -C "${pkgdir}"
install -d "${pkgdir}"/usr/share/applications
install -d "${pkgdir}"/usr/share/icons
install -d "${pkgdir}"/opt/Insomnia
chmod -R go-w "${pkgdir}"/usr
mkdir -p ${pkgdir}/usr/bin
ln -s /opt/Insomnia/Insomnia ${pkgdir}/usr/bin/insomnia
}
|