summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: deecba8ec59128aeff8eed0cd02ed6b19c974498 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: Toolybird <toolybird at tuta dot io>

pkgname=driverctl
pkgver=0.111
pkgrel=1
pkgdesc="Device driver control utility"
arch=('any')
url="https://gitlab.com/driverctl/driverctl"
license=('LGPL2.1')
depends=('bash')
optdepends=('bash-completion: bash completion')
source=("https://gitlab.com/driverctl/driverctl/-/archive/$pkgver/driverctl-$pkgver.tar.bz2")
sha256sums=('31a077a4bf620cb1026d849c53b58697a5812be48d07118aca70f6b8cd3d8d8e')

package() {
  cd "$pkgname-$pkgver"
  make DESTDIR="$pkgdir" SBINDIR=/usr/bin install
  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}