blob: aa674b26104fb9d801e8b544e549e5174593e7c0 (
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
32
33
|
# Maintainer: SebRmv
_pkgbase=ia32_aout
pkgname=ia32_aout-dkms
pkgver=5.8
pkgrel=1
pkgdesc='ia32_aout kernel module, for running an a.out binary format (DKMS)'
arch=('x86_64')
depends=('dkms')
url="https://www.kernel.org"
conflicts=("${_pkgbase}")
provides=("${_pkgbase}")
license=("GPLv3")
options=('!strip')
source=("https://raw.githubusercontent.com/torvalds/linux/v${pkgver}/arch/x86/ia32/ia32_aout.c"
'Makefile'
'dkms.conf')
# updpkgsums
sha1sums=('8dd58b9a2f787ec185f6c955677c64f6b2eaa8aa'
'843ea355c7475bd77408814e2a48a53af4856d8d'
'42244650cd11033033f49a7909e5825584afd0cb')
package() {
# Copy dkms.conf
install -Dm644 dkms.conf "${pkgdir}"/usr/src/${_pkgbase}-${pkgver}/dkms.conf
# Copy sources (including Makefile)
cp ia32_aout.c Makefile dkms.conf "${pkgdir}"/usr/src/${_pkgbase}-${pkgver}/
# Set name and version
sed -e "s/@_PKGBASE@/${_pkgbase}/" \
-e "s/@PKGVER@/${pkgver}/" \
-i "${pkgdir}"/usr/src/${_pkgbase}-${pkgver}/dkms.conf
}
|