# Maintainer: Julien Virey pkgname=hostctl-bin pkgver=1.1.4 pkgrel=1 pkgdesc='Command-line tool to manage your hosts file' arch=('x86_64') url='https://github.com/guumaster/hostctl' license=('MIT') provides=("${pkgname%-bin}") conflicts=("${pkgname%-bin}") source=("$url/releases/download/v$pkgver/${pkgname%-bin}_${pkgver}_linux_64-bit.tar.gz") sha256sums=('f4ec3c9f9d54633511251834ce98d409464fb1c0d970f9c865a880e1160db30f') package() { install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname%-bin}/" install -Dm755 "${pkgname%-bin}" "$pkgdir/usr/bin/${pkgname%-bin}" }