[PATCH lkp-tests 2/2] pkg: add httpress

Signed-off-by: Wei Jihui <weijihuiall@163.com> --- pkg/httpress/PKGBUILD | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 pkg/httpress/PKGBUILD diff --git a/pkg/httpress/PKGBUILD b/pkg/httpress/PKGBUILD new file mode 100644 index 00000000..b906303d --- /dev/null +++ b/pkg/httpress/PKGBUILD @@ -0,0 +1,17 @@ +pkgname=httpress +pkgver=1 +pkgrel=1 +url='' +arch=('aarch64') +license=('BSD') +source=("https://download.fedoraproject.org/pub/epel/7/SRPMS/Packages/h/httpress-1.1....") +md5sums=('SKIP') + +package() +{ + # The rpm which from source maybe unavailable + # httpress-1.1.0-13.fc31.aarch64.rpm is validated to be available + rpmpkg_path="${pkgdir}/opt/rpms/" + mkdir -p "${rpmpkg_path}" + cp "${srcdir}/"*.rpm "${rpmpkg_path}" +} -- 2.23.0

On Wed, Dec 30, 2020 at 09:06:21PM +0800, Wei Jihui wrote:
Signed-off-by: Wei Jihui <weijihuiall@163.com> --- pkg/httpress/PKGBUILD | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 pkg/httpress/PKGBUILD
diff --git a/pkg/httpress/PKGBUILD b/pkg/httpress/PKGBUILD new file mode 100644 index 00000000..b906303d --- /dev/null +++ b/pkg/httpress/PKGBUILD @@ -0,0 +1,17 @@ +pkgname=httpress +pkgver=1 +pkgrel=1 +url=''
url can write "httpress" software home, or write the content of "source" field, suggest you not be empty.
+arch=('aarch64')
how about is other system? if other is ok, write arch=('any') ? Thanks, Liushaofei
+license=('BSD') +source=("https://download.fedoraproject.org/pub/epel/7/SRPMS/Packages/h/httpress-1.1....") +md5sums=('SKIP') + +package() +{ + # The rpm which from source maybe unavailable + # httpress-1.1.0-13.fc31.aarch64.rpm is validated to be available + rpmpkg_path="${pkgdir}/opt/rpms/" + mkdir -p "${rpmpkg_path}" + cp "${srcdir}/"*.rpm "${rpmpkg_path}" +} -- 2.23.0
-
Liu Shaofei
-
Wei Jihui