summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2860cf7c8bfbe628899b67cfbf6abf86d3e1a277 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Henry Graham <henry)dot(arch)at(hgrahamcs)dot(com(>

pkgname=amimullvad
pkgver=1.1
pkgrel=1
pkgdesc='Utility to check for a mullvad vpn connection status'
arch=('x86_64')
url='https://github.com/hgrahamcs/amimullvad'
license=('custom:WTFPL')
makedepends=("cargo")
source=('https://github.com/hgrahamcs/amimullvad/archive/v1.1.tar.gz')
sha256sums=('42b1699869f3733aa3506f0cb804d19b515fc64c020b2502a1245cd256637160')

build(){
	cd $pkgname-$pkgver
	cargo build --release
}

package(){
	install -Dm644 "$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
	install -Dm755 "$pkgname-$pkgver/target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
}