summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f6b3f0f0fe4748e66a0d2a7507c125d4723aab34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Maintainer: Adrian Perez de Castro <aperez@igalia.com>
pkgdesc='DWARF optimization and duplicate removal tool'
pkgname=dwz
pkgver=0.15
pkgrel=2
url=https://sourceware.org/git/dwz.git
arch=(x86_64)
license=(GPL-2.0-or-later GPL-3.0-or-later)
depends=(libelf)
makedepends=(git make xxhash)
source=("${pkgname}::git+${url}#tag=dwz-${pkgver}")
sha512sums=(SKIP)

build () {
	make -C "${pkgname}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
}

package () {
	make -C "${pkgname}" DESTDIR="${pkgdir}" install
}