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

David Runge dvzrv at archlinux.org
Thu May 16 17:33:26 UTC 2019


    Date: Thursday, May 16, 2019 @ 17:33:25
  Author: dvzrv
Revision: 353470

archrelease: copy trunk to extra-x86_64

Added:
  numactl/repos/extra-x86_64/PKGBUILD
    (from rev 353469, numactl/trunk/PKGBUILD)
Deleted:
  numactl/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   64 ++++++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 38 insertions(+), 26 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-16 17:33:21 UTC (rev 353469)
+++ PKGBUILD	2019-05-16 17:33:25 UTC (rev 353470)
@@ -1,26 +0,0 @@
-# Maintainer: Dan McGee <dan at archlinux.org>
-# Contributor: Florian Zeitz <florob at babelmonkeys dot de>
-
-pkgname=numactl
-pkgver=2.0.12
-pkgrel=1
-pkgdesc="Simple NUMA policy support"
-arch=('x86_64')
-url="http://oss.sgi.com/projects/libnuma/"
-license=('LGPL2.1' 'GPL2')
-depends=('perl')
-source=(https://github.com/numactl/numactl/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz)
-sha256sums=('55bbda363f5b32abd057b6fbb4551dd71323f5dbb66335ba758ba93de2ada729')
-
-build() {
-  cd "$srcdir/$pkgname-${pkgver/_/-}"
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd "$srcdir/$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"
-}

Copied: numactl/repos/extra-x86_64/PKGBUILD (from rev 353469, numactl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-16 17:33:25 UTC (rev 353470)
@@ -0,0 +1,38 @@
+# 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=2
+pkgdesc="Simple NUMA policy support"
+arch=('x86_64')
+url="http://oss.sgi.com/projects/libnuma/"
+license=('LGPL2.1' 'GPL2')
+depends=('perl')
+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