summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 62530da737cfb7ecf1d47b09df35490ce4655dab (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
28
29
# Maintainer: Stuart Cardall <developer__at__it-offshore.co.uk>
pkgname=arch-sign-modules
_pkgname=Arch-SKM
pkgver=0.7.3
pkgrel=1
pkgdesc="Signed (In Tree & Out of Tree) Kernel Modules for linux linux-lts linux-hardened linux-zen + AUR kernels"
arch=(any)
url="https://github.com/itoffshore/Arch-SKM"
license=(MIT)
depends=('git' 'rsync' 'python-zstandard')
optdepends=('pacman-contrib'
            'nano: default editor'
            'mousepad: default gui editor')
install="$pkgname.install"
source=($pkgname-$pkgver.tar.gz::https://github.com/itoffshore/$_pkgname/archive/$pkgver.tar.gz)
md5sums=('86f0a29e670b05f88aeb94e0bda3b2ae')

package() {
  cd $_pkgname-$pkgver
  mkdir -p $pkgdir/usr/{src,bin,share/$pkgname}

  cp -rf certs-local $pkgdir/usr/src/
  cp scripts/* $pkgdir/usr/bin/
  cp Arch-Linux-PKGBUILD-example $pkgdir/usr/share/$pkgname/PKGBUILD.example
  cp -rf patches $pkgdir/usr/share/$pkgname/patches
  cp README.scripts.md $pkgdir/usr/share/$pkgname/README.scripts.md
  # license
  install -Dm644 LICENSE $pkgdir/usr/share/licenses/${pkgname}/LICENSE
}