summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 11bbd2fe5e4d0f5ff15d9c9b2ea23a6c692ad44a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Maintainer: Jonathan Rouleau <jonathan@rouleau.io>

pkgname=cmdline
pkgver=2.1
pkgrel=1
pkgdesc="Generates a kernel cmdline string from /etc/cmdline and /etc/cmdline.d/"
arch=('any')
url="https://github.com/jrouleau/cmdline"
license=('MIT')
depends=('bash' 'coreutils' 'sed')
source=("https://github.com/jrouleau/cmdline/archive/v${pkgver}.tar.gz")
sha256sums=('e8982ff7fbc3ff56d84a8649b8ca6e36c4e03dad307b1b4bdecfb6f7bf2586b2')

package() {
  cd "$srcdir/$pkgname-$pkgver/"
  install -Dm 0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  install -Dm 0755 gencmdline "$pkgdir/usr/bin/gencmdline"
}