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

Antonio Rojas arojas at archlinux.org
Mon Jan 4 11:16:12 UTC 2021


    Date: Monday, January 4, 2021 @ 11:16:11
  Author: arojas
Revision: 405245

Update to 2.8.1

Modified:
  gperftools/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-04 10:42:53 UTC (rev 405244)
+++ PKGBUILD	2021-01-04 11:16:11 UTC (rev 405245)
@@ -6,7 +6,7 @@
 # Contributor: Jan Rüegg <rggjan at gmail.com>
 
 pkgname=gperftools
-pkgver=2.8
+pkgver=2.8.1
 pkgrel=1
 pkgdesc="Fast, multi-threaded malloc and nifty performance analysis tools"
 arch=('x86_64')
@@ -19,20 +19,13 @@
           'libtcmalloc_and_profiler.so'
           'libtcmalloc_minimal.so'
           'libtcmalloc_minimal_debug.so')
-makedepends=('git')
 optdepends=('graphviz: pprof graph generation'
             'gv: pprof postscript generation')
-source=("git+https://github.com/gperftools/gperftools#tag=$pkgname-$pkgver")
-md5sums=('SKIP')
+source=(https://github.com/gperftools/gperftools/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('12f07a8ba447f12a3ae15e6e3a6ad74de35163b787c0c7b76288d7395f2f74e0')
 
-prepare() {
-  cd "$pkgname"
-
-  ./autogen.sh
-}
-
 build() {
-  cd "$pkgname"
+  cd $pkgname-$pkgver
 
   ./configure --prefix=/usr --enable-frame-pointers
   make
@@ -39,10 +32,8 @@
 }
 
 package() {
-  cd "$pkgname"
+  cd $pkgname-$pkgver
 
   make DESTDIR="$pkgdir" install
   install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
 }
-
-# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list