blob: f35c3495471857b9218a03652f80cca34ea5e383 (
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: Fabio 'Lolix' Loli <lolix@disroot.org> -> https://github.com/FabioLolix
# Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com>
pkgname=linux-test-project
pkgver=20180515
pkgrel=1
pkgdesc="A collection of tools for testing the Linux kernel and related features"
arch=('i686' 'x86_64')
license=('GPL2')
url="http://linux-test-project.github.io/"
depends=('acl' 'bash' 'gawk' 'libcap' 'libtirpc' 'python2' 'libaio' 'numactl')
source=("https://github.com/linux-test-project/ltp/releases/download/$pkgver/ltp-full-$pkgver.tar.bz2")
md5sums=('e104b70ae4b0d7f7e728ef5345242d2c')
prepare() {
cd "$srcdir/ltp-full-$pkgver"
find . -type f -exec sed -i 's|^#!.*python$|#!/usr/bin/env python2|' '{}' ';'
./configure --mandir=/usr/share/man --with-bash
}
build() {
cd "$srcdir/ltp-full-$pkgver"
make all
}
package() {
cd "$srcdir/ltp-full-$pkgver"
make DESTDIR="$pkgdir" install
}
|