diff options
author | FabioLolix | 2021-03-10 21:07:09 +0100 |
---|---|---|
committer | FabioLolix | 2021-03-10 21:07:09 +0100 |
commit | 02867e6b23eed3c6b7301a61bb6876c68c4f3ab9 (patch) | |
tree | 4938deb07a180443ea32a3fbde68905b35157442 | |
parent | 55672c24ab93e845efb7c181c2d5fde47bf16812 (diff) | |
download | aur-02867e6b23eed3c6b7301a61bb6876c68c4f3ab9.tar.gz |
v20210121
-rwxr-xr-x | .SRCINFO | 13 | ||||
-rwxr-xr-x | PKGBUILD | 34 |
2 files changed, 19 insertions, 28 deletions
@@ -1,8 +1,8 @@ pkgbase = linux-test-project - pkgdesc = A collection of tools for testing the Linux kernel and related features - pkgver = 20180515 + pkgdesc = Collection of tools for testing the Linux kernel and related features + pkgver = 20210121 pkgrel = 1 - url = http://linux-test-project.github.io/ + url = https://linux-test-project.github.io/ arch = i686 arch = x86_64 license = GPL2 @@ -11,11 +11,10 @@ pkgbase = linux-test-project depends = gawk depends = libcap depends = libtirpc - depends = python2 - depends = libaio + depends = python depends = numactl - source = https://github.com/linux-test-project/ltp/releases/download/20180515/ltp-full-20180515.tar.bz2 - md5sums = e104b70ae4b0d7f7e728ef5345242d2c + source = https://github.com/linux-test-project/ltp/releases/download/20210121/ltp-full-20210121.tar.xz + sha256sums = 72b0a063f0d48efaaa93ed403d56662ac2b1dd3f74ecb5c6e5b3900791fa6c29 pkgname = linux-test-project @@ -1,33 +1,25 @@ -# Maintainer: Fabio 'Lolix' Loli <lolix@disroot.org> -> https://github.com/FabioLolix +# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix # Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com> pkgname=linux-test-project -pkgver=20180515 +pkgver=20210121 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 -} +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 libtirpc python numactl) +source=("https://github.com/linux-test-project/ltp/releases/download/${pkgver}/ltp-full-${pkgver}.tar.xz") +sha256sums=('72b0a063f0d48efaaa93ed403d56662ac2b1dd3f74ecb5c6e5b3900791fa6c29') build() { - cd "$srcdir/ltp-full-$pkgver" - - make all + cd "${srcdir}/ltp-full-${pkgver}" + ./configure --prefix=/usr/share --mandir=/usr/share/man --with-bash + make } package() { - cd "$srcdir/ltp-full-$pkgver" - + cd "${srcdir}/ltp-full-${pkgver}" make DESTDIR="$pkgdir" install } |