Balló György pushed to branch main at Arch Linux / Packaging / Packages / 
gperftools


Commits:
b38d3a8d by Balló György at 2024-07-19T22:20:20+02:00
Formatting

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -10,15 +10,21 @@ pkgname=gperftools
 pkgver=2.15
 pkgrel=1
 pkgdesc='Fast, multi-threaded malloc and nifty performance analysis tools'
-arch=('x86_64')
+arch=(x86_64)
 url='https://github.com/gperftools/gperftools'
-license=('BSD-3-Clause')
-depends=('gcc-libs' 'glibc' 'libunwind')
-makedepends=('git')
-optdepends=('graphviz: pprof graph generation'
-            'perl: pprof and pprof-symbolize commands')
-source=("git+https://github.com/gperftools/gperftools.git#tag=$pkgname-$pkgver";)
-b2sums=('3e13c2ae5a367d9fa6d6bd21954b21ba3139c642b90285df195ce88d41eab79abbb2a59fdc2c7d4a89fb8706382cb66420f47f224e866ab6f88d9fbaa4825a0f')
+license=(BSD-3-Clause)
+depends=(
+  gcc-libs
+  glibc
+  libunwind
+)
+makedepends=(git)
+optdepends=(
+  'graphviz: pprof graph generation'
+  'perl: pprof and pprof-symbolize commands'
+)
+source=(git+https://github.com/gperftools/gperftools.git#tag=$pkgname-$pkgver)
+b2sums=(3e13c2ae5a367d9fa6d6bd21954b21ba3139c642b90285df195ce88d41eab79abbb2a59fdc2c7d4a89fb8706382cb66420f47f224e866ab6f88d9fbaa4825a0f)
 
 prepare() {
   cd $pkgname
@@ -27,7 +33,12 @@ prepare() {
 
 build() {
   cd $pkgname
-  ./configure --prefix=/usr --enable-frame-pointers --enable-libunwind
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --localstatedir=/var \
+    --enable-frame-pointers \
+    --enable-libunwind
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gperftools/-/commit/b38d3a8d4d490593372c36776aed4217036ee246

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gperftools/-/commit/b38d3a8d4d490593372c36776aed4217036ee246
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to