blob: 108bb1bf1b40913183b05080f6709ee663810b5c (
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
30
31
|
# Maintainer: Tobias Gerold <tobias at g3ro dot eu>
pkgname=shiftfs
pkgver=20210417
pkgrel=1
pkgdesc="kernel module that provides a kernel filesystem for uid/gid shifting; version for default Arch kernel"
arch=('x86_64')
url="https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/hirsute/tree/fs/shiftfs.c?h=master-next"
license=('GPL2')
makedepends=('linux-headers')
source=("shiftfs.c::https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/hirsute/plain/fs/shiftfs.c?h=master-next&id=e11c90784cc33940ee3143d55706cea203080dc5"
dkms.conf
Makefile)
sha512sums=('SKIP'
'186a0d0bb6f85db978636a9e8471865542aae8f2170b3d4bdd35952c9eaa73a055acb2d4bea6b5c62ca7732d3c5fb478a267f1f5d78b50a4ac3e095ba689833f'
'564fa7777089f16ca1522b1893d0e77ce34cd2b3632ff807c4a932eb29559053ad04a3d6a083c2b34e50864d72f6707c96a951aafca663fa67d483af04bcf0e9')
build() {
make KDIR="/usr/lib/modules/$(</usr/src/linux/version)/build"
}
package_shiftfs() {
depends=('linux')
_extradir="/usr/lib/modules/$(</usr/src/linux/version)/extramodules"
install -Dt "${pkgdir}${_extradir}" -m644 *.ko
find "${pkgdir}" -name '*.ko' -exec strip --strip-debug {} +
find "${pkgdir}" -name '*.ko' -exec xz {} +
}
|