blob: b947ef7315c80df9673ec02f6fbc5dda8ed84fbb (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
# Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com>
pkgname=linux-test-project-git
pkgver=20230929.r30.g50a587989
pkgrel=2
pkgdesc="Collection of tools for testing the Linux kernel and related features"
arch=(i686 x86_64)
license=(GPL2)
url="https://linux-test-project.github.io/"
depends=(acl bash gawk libcap perl numactl libaio libmnl python glibc openssl libtirpc)
makedepends=(git)
options=(!lto !strip)
source=("git+https://github.com/linux-test-project/ltp.git")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/ltp"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "${srcdir}/ltp"
make autotools
}
build() {
cd "${srcdir}/ltp"
./configure \
--prefix=/usr/share \
--mandir=/usr/share/man \
--with-bash
make
}
check() {
cd "${srcdir}/ltp"
make test
}
package() {
cd "${srcdir}/ltp"
make DESTDIR="$pkgdir" install
}
|