[arch-commits] Commit in numactl/trunk (PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Sun May 22 08:40:52 UTC 2022


    Date: Sunday, May 22, 2022 @ 08:40:51
  Author: dvzrv
Revision: 446418

upgpkg: numactl 2.0.14-3: Rebuild to add debug package.

Update url to current upstream github project.
Remove unneeded quotes and curly braces.

Modified:
  numactl/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-22 06:19:20 UTC (rev 446417)
+++ PKGBUILD	2022-05-22 08:40:51 UTC (rev 446418)
@@ -4,25 +4,25 @@
 
 pkgname=numactl
 pkgver=2.0.14
-pkgrel=2
+pkgrel=3
 pkgdesc="Simple NUMA policy support"
 arch=(x86_64)
-url="http://oss.sgi.com/projects/libnuma/"
+url="https://github.com/numactl/numactl"
 license=(LGPL2.1 GPL2)
 depends=(glibc)
 provides=(libnuma.so)
-# NOTE: debug pkg currently unavailable as it contains /build dir
-source=("https://github.com/numactl/numactl/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
+options=(debug)
+source=(https://github.com/numactl/numactl/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz)
 sha512sums=('28b95985d6b2f26c5f6f15fe235224c998c86f534adf5fdaa355a292cf2fd65515c91ba2a76c899d552d439b18ea1209a1712bd6755f8ee3a442f3935993b2e6')
 b2sums=('5f2abe25061ac29ecad8a6b24fe800d72c3538d9a155358f4b329ed1140053c7dbd93f01891904f76db94ed01113a34b4ebcbbf40e4060caf747958785ac9590')
 
 prepare(){
-  cd "${pkgname}-${pkgver}"
+  cd $pkgname-$pkgver
   autoreconf -fiv
 }
 
 build() {
-  cd "${pkgname}-${pkgver}"
+  cd $pkgname-$pkgver
   ./configure --prefix=/usr
   make
 }
@@ -33,7 +33,7 @@
 
 package() {
   make DESTDIR="$pkgdir" install -C $pkgname-$pkgver
-  install -vDm 644 $pkgname-$pkgver/README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -vDm 644 $pkgname-$pkgver/README.md -t "$pkgdir/usr/share/doc/$pkgname/"
   # move_pages(2) is provided by man-pages and is more up-to-date there anyway
   rm -rf "$pkgdir/usr/share/man/man2"
 }



More information about the arch-commits mailing list