[arch-commits] Commit in numactl/repos (community-x86_64 community-x86_64/PKGBUILD)

David Runge dvzrv at archlinux.org
Thu Aug 8 20:51:57 UTC 2019


    Date: Thursday, August 8, 2019 @ 20:51:57
  Author: dvzrv
Revision: 359346

archrelease: copy trunk to community-x86_64

Added:
  numactl/repos/community-x86_64/
  numactl/repos/community-x86_64/PKGBUILD
    (from rev 359345, numactl/trunk/PKGBUILD)

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Copied: numactl/repos/community-x86_64/PKGBUILD (from rev 359345, numactl/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-08-08 20:51:57 UTC (rev 359346)
@@ -0,0 +1,39 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: Dan McGee <dan at archlinux.org>
+# Contributor: Florian Zeitz <florob at babelmonkeys dot de>
+
+pkgname=numactl
+pkgver=2.0.12
+pkgrel=3
+pkgdesc="Simple NUMA policy support"
+arch=('x86_64')
+url="http://oss.sgi.com/projects/libnuma/"
+license=('LGPL2.1' 'GPL2')
+depends=('perl')
+provides=('libnuma.so')
+source=("https://github.com/numactl/numactl/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('316b10f50e6eee4cee9cf191f19381ec4a61980354eec3f9fe43fef21465bee28a82adeb9c235d4877e82950ccd14c9473b79fd1e2f5a7f598ec2fac230780ff')
+
+prepare(){
+  cd "${pkgname}-${pkgver}"
+  autoreconf -vfi
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+  make -k test || msg "Tests known to fail depending on system load."
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="$pkgdir" install
+  # move_pages(2) is provided by man-pages and is more up-to-date there anyway
+  rm -rf "$pkgdir/usr/share/man/man2"
+  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}



More information about the arch-commits mailing list