Balló György pushed to branch main at Arch Linux / Packaging / Packages / gperftools
Commits: b7b3786c by Balló György at 2024-05-13T00:28:23+02:00 Switch to git source - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -5,12 +5,13 @@ pkgbase = gperftools url = https://github.com/gperftools/gperftools arch = x86_64 license = BSD-3-Clause + makedepends = git depends = gcc-libs depends = glibc depends = libunwind optdepends = graphviz: pprof graph generation optdepends = perl: pprof and pprof-symbolize commands - source = https://github.com/gperftools/gperftools/releases/download/gperftools-2.15/gperftools-2.15.tar.gz - sha256sums = c69fef855628c81ef56f12e3c58f2b7ce1f326c0a1fe783e5cae0b88cbbe9a80 + source = git+https://github.com/gperftools/gperftools.git#tag=gperftools-2.15 + b2sums = 3e13c2ae5a367d9fa6d6bd21954b21ba3139c642b90285df195ce88d41eab79abbb2a59fdc2c7d4a89fb8706382cb66420f47f224e866ab6f88d9fbaa4825a0f pkgname = gperftools ===================================== PKGBUILD ===================================== @@ -14,25 +14,31 @@ 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=("https://github.com/gperftools/gperftools/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz") -sha256sums=('c69fef855628c81ef56f12e3c58f2b7ce1f326c0a1fe783e5cae0b88cbbe9a80') +source=("git+https://github.com/gperftools/gperftools.git#tag=$pkgname-$pkgver") +b2sums=('3e13c2ae5a367d9fa6d6bd21954b21ba3139c642b90285df195ce88d41eab79abbb2a59fdc2c7d4a89fb8706382cb66420f47f224e866ab6f88d9fbaa4825a0f') + +prepare() { + cd $pkgname + autoreconf -i +} build() { - cd $pkgname-$pkgver + cd $pkgname ./configure --prefix=/usr --enable-frame-pointers --enable-libunwind sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make } check() { - cd $pkgname-$pkgver + cd $pkgname make check } package() { - cd $pkgname-$pkgver + cd $pkgname make DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/gperftools/-/commit/b7b3786c5e4b2bb9f44cb3ba0691f9b64f2a8db3 -- This project does not include diff previews in email notifications. View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/gperftools/-/commit/b7b3786c5e4b2bb9f44cb3ba0691f9b64f2a8db3 You're receiving this email because of your account on gitlab.archlinux.org.