mirror of
https://github.com/bertptrs/aur.git
synced 2025-12-27 13:30:31 +01:00
Update to v1.1.
Now a lot smaller since it uses system dependencies.
This commit is contained in:
11
.SRCINFO
11
.SRCINFO
@@ -1,15 +1,18 @@
|
|||||||
pkgbase = bloaty
|
pkgbase = bloaty
|
||||||
pkgdesc = a size profiler for binaries
|
pkgdesc = a size profiler for binaries
|
||||||
pkgver = 1.0
|
pkgver = 1.1
|
||||||
pkgrel = 2
|
pkgrel = 1
|
||||||
url = https://github.com/google/bloaty
|
url = https://github.com/google/bloaty
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = Apache
|
license = Apache
|
||||||
makedepends = cmake
|
makedepends = cmake
|
||||||
depends = gcc-libs
|
depends = gcc-libs
|
||||||
|
depends = re2
|
||||||
|
depends = protobuf
|
||||||
|
depends = capstone
|
||||||
options = !emptydirs
|
options = !emptydirs
|
||||||
source = https://github.com/google/bloaty/releases/download/v1.0/bloaty-1.0.tar.bz2
|
source = https://github.com/google/bloaty/releases/download/v1.1/bloaty-1.1.tar.bz2
|
||||||
sha256sums = e1cf9830ba6c455218fdb50e7a8554ff256da749878acfaf77c032140d7ddde0
|
sha256sums = a308d8369d5812aba45982e55e7c3db2ea4780b7496a5455792fb3dcba9abd6f
|
||||||
|
|
||||||
pkgname = bloaty
|
pkgname = bloaty
|
||||||
|
|
||||||
|
|||||||
11
PKGBUILD
11
PKGBUILD
@@ -1,16 +1,16 @@
|
|||||||
# Maintainer: Bert Peters <bert@bertptrs.nl>
|
# Maintainer: Bert Peters <bert@bertptrs.nl>
|
||||||
pkgname=bloaty
|
pkgname=bloaty
|
||||||
pkgver=1.0
|
pkgver=1.1
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
pkgdesc="a size profiler for binaries"
|
pkgdesc="a size profiler for binaries"
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
url="https://github.com/google/bloaty"
|
url="https://github.com/google/bloaty"
|
||||||
license=('Apache')
|
license=('Apache')
|
||||||
depends=(gcc-libs)
|
depends=(gcc-libs re2 protobuf capstone)
|
||||||
makedepends=(cmake)
|
makedepends=(cmake)
|
||||||
options=(!emptydirs)
|
options=(!emptydirs)
|
||||||
source=("https://github.com/google/bloaty/releases/download/v$pkgver/bloaty-$pkgver.tar.bz2")
|
source=("https://github.com/google/bloaty/releases/download/v$pkgver/bloaty-$pkgver.tar.bz2")
|
||||||
sha256sums=('e1cf9830ba6c455218fdb50e7a8554ff256da749878acfaf77c032140d7ddde0')
|
sha256sums=('a308d8369d5812aba45982e55e7c3db2ea4780b7496a5455792fb3dcba9abd6f')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$pkgname-$pkgver"
|
cd "$pkgname-$pkgver"
|
||||||
@@ -30,7 +30,4 @@ build() {
|
|||||||
package() {
|
package() {
|
||||||
cd "$pkgname-$pkgver"
|
cd "$pkgname-$pkgver"
|
||||||
make DESTDIR="$pkgdir/" install
|
make DESTDIR="$pkgdir/" install
|
||||||
|
|
||||||
# Prevent package conflicts
|
|
||||||
rm -r "$pkgdir/usr/"{include,bin/protoc*,lib64,lib/*.a,lib/pkgconfig/protobuf*,lib/cmake/protobuf}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user