1
0
mirror of https://github.com/bertptrs/aur.git synced 2025-12-25 20:40:32 +01:00

Compare commits

...

17 Commits

Author SHA1 Message Date
87b4bf3759 upgpkg: json_dto 0.3.3-2
Fix license, CMake build guidelines
2024-03-24 18:24:04 +01:00
8d1b475457 upgpkg: hashclash-git r46.d833657-1
Minor formatting
2024-03-24 18:10:25 +01:00
fb818b06a2 Add 'hashclash-git/' from commit '84675c66cdc3248336b51fa13765ba3cbcd048e2'
git-subtree-dir: hashclash-git
git-subtree-mainline: 39e8046f5e
git-subtree-split: 84675c66cd
2024-03-24 18:09:38 +01:00
39e8046f5e upgpkg: cargo-cache 0.8.3-2
Fix license and formatting
2024-03-24 17:51:07 +01:00
bb67bca2a3 Add 'cargo-cache/' from commit '639290fdb473fa402e257960b9c7010b5a170e2f'
git-subtree-dir: cargo-cache
git-subtree-mainline: fb533451af
git-subtree-split: 639290fdb4
2024-03-24 17:37:46 +01:00
fb533451af upgpkg: bloaty 1.1-3
Fix license record, remove unused !emptydirs, comply with Arch cmake
guidelines
2024-03-24 17:33:00 +01:00
639290fdb4 upgpkg: cargo-cache 0.8.3-1
upstream release
2022-10-17 23:22:41 +02:00
ae5c8b18f2 upgpkg: cargo-cache 0.8.2-1
upstream release
2022-02-09 22:20:54 +01:00
d60c475025 upgpkg: cargo-cache 0.8.1-1
upstream release. Also disable upstream's vendoring of libgit2 as Arch
ships a recent enough version not to need it.
2021-12-28 16:06:19 +01:00
086d9747b0 upgpkg: cargo-cache 0.8.0-1
upstream release
2021-12-27 14:06:01 +01:00
a7870e066a upgpkg: cargo-cache 0.7.0-1
upstream release
2021-11-13 12:36:41 +01:00
84675c66cd Upstream fixed the configure problem, no need to patch. 2019-01-21 20:59:51 +01:00
b5e82ed60b Maintainer email. 2018-12-30 12:20:37 +01:00
b8b7c658cc Include example scripts. 2018-12-29 11:16:44 +01:00
70d1e542a7 Remove example comments. 2018-12-29 11:07:01 +01:00
05e7fb62d9 Fix License 2018-12-29 11:06:36 +01:00
7464a5736e Initial package. 2018-12-29 11:00:14 +01:00
8 changed files with 117 additions and 21 deletions

View File

@@ -1,17 +1,16 @@
pkgbase = bloaty
pkgdesc = a size profiler for binaries
pkgver = 1.1
pkgrel = 2
pkgrel = 3
url = https://github.com/google/bloaty
arch = x86_64
license = Apache
license = Apache-2.0
makedepends = cmake
depends = gcc-libs
depends = re2
depends = protobuf
depends = capstone
depends = abseil-cpp
options = !emptydirs
source = https://github.com/google/bloaty/releases/download/v1.1/bloaty-1.1.tar.bz2
source = https://src.fedoraproject.org/rpms/bloaty/raw/rawhide/f/bloaty-1.1-absl.patch
sha256sums = a308d8369d5812aba45982e55e7c3db2ea4780b7496a5455792fb3dcba9abd6f

View File

@@ -1,14 +1,13 @@
# Maintainer: Bert Peters <bert@bertptrs.nl>
pkgname=bloaty
pkgver=1.1
pkgrel=2
pkgrel=3
pkgdesc="a size profiler for binaries"
arch=(x86_64)
url="https://github.com/google/bloaty"
license=('Apache')
license=('Apache-2.0')
depends=(gcc-libs re2 protobuf capstone abseil-cpp)
makedepends=(cmake)
options=(!emptydirs)
source=(
"https://github.com/google/bloaty/releases/download/v$pkgver/bloaty-$pkgver.tar.bz2"
"https://src.fedoraproject.org/rpms/bloaty/raw/rawhide/f/bloaty-1.1-absl.patch")
@@ -16,27 +15,25 @@ sha256sums=('a308d8369d5812aba45982e55e7c3db2ea4780b7496a5455792fb3dcba9abd6f'
'96cc0528f6464b03d0e68060ff2d24c36624c7d3991cee142df8d3d27cefeb51')
prepare() {
cd "$pkgname-$pkgver"
cd "$pkgname-$pkgver"
# Abseil compatibility patch borrowed from Fedora
patch -p1 < "../bloaty-1.1-absl.patch"
}
build() {
cd "$pkgname-$pkgver"
# Bloaty doesn't allow using an empty build type.
# Unfortunately, this breaks RELRO, so we need to fix that
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_EXE_LINKER_FLAGS_RELEASE="$LDFLAGS" -Wno-dev .
make
cd "$pkgname-$pkgver"
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None \
-DCMAKE_EXE_LINKER_FLAGS_RELEASE="$LDFLAGS" -Wno-dev
make
}
# Not included in the source tarbal, use the git release instead
# check() {
# cd "$pkgname-$pkgver"
# make test
# cd "$pkgname-$pkgver"
# make test
# }
package() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}

14
cargo-cache/.SRCINFO Normal file
View File

@@ -0,0 +1,14 @@
pkgbase = cargo-cache
pkgdesc = Display info and prune cargo cache
pkgver = 0.8.3
pkgrel = 2
url = https://github.com/matthiaskrgr/cargo-cache
arch = x86_64
license = MIT
license = Apache-2.0
makedepends = cargo
depends = libgit2
source = cargo-cache-0.8.3.tar.gz::https://github.com/matthiaskrgr/cargo-cache/archive/0.8.3.tar.gz
sha256sums = d0f71214d17657a27e26aef6acf491bc9e760432a9bc15f2571338fcc24800e4
pkgname = cargo-cache

33
cargo-cache/PKGBUILD Normal file
View File

@@ -0,0 +1,33 @@
# Maintainer: Bert Peters <bert@bertptrs.nl>
# Contributor: Jason Nader <jason d0t nader pr0t0nmail.c0m>
pkgname=cargo-cache
pkgver=0.8.3
pkgrel=2
pkgdesc="Display info and prune cargo cache"
arch=('x86_64')
url="https://github.com/matthiaskrgr/cargo-cache"
source=("$pkgname-$pkgver.tar.gz::https://github.com/matthiaskrgr/cargo-cache/archive/$pkgver.tar.gz")
license=('MIT' 'Apache-2.0')
depends=('cargo')
sha256sums=('d0f71214d17657a27e26aef6acf491bc9e760432a9bc15f2571338fcc24800e4')
depends=('libgit2')
makedepends=('cargo')
prepare() {
cd "$pkgname-$pkgver"
# Upstream tried to make libgit vendoring optional but it doesn't work. Manually implement it anyway.
sed -i "s|\[\"vendored-libgit2\"\]|\[\]|" Cargo.toml
sed -i "s|, \"vendored-libgit\"||" Cargo.toml
}
build() {
cd "$pkgname-$pkgver"
cargo build --release --locked
}
package() {
cd "$pkgname-$pkgver"
install -Dm755 "target/release/cargo-cache" "$pkgdir/usr/bin/cargo-cache"
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE-MIT
}

16
hashclash-git/.SRCINFO Normal file
View File

@@ -0,0 +1,16 @@
pkgbase = hashclash-git
pkgdesc = Project HashClash - MD5 & SHA-1 cryptanalysis
pkgver = r46.d833657
pkgrel = 1
url = https://github.com/cr-marcstevens/hashclash
arch = x86_64
license = MIT
makedepends = git
makedepends = boost
depends = boost-libs
provides = hashclash
conflicts = hashclash
source = hashclash::git+https://github.com/cr-marcstevens/hashclash
md5sums = SKIP
pkgname = hashclash-git

36
hashclash-git/PKGBUILD Normal file
View File

@@ -0,0 +1,36 @@
# Maintainer: Bert Peters <bert@bertptrs.nl>
pkgname=hashclash-git
pkgver=r46.d833657
pkgrel=1
pkgdesc="Project HashClash - MD5 & SHA-1 cryptanalysis "
arch=(x86_64)
url="https://github.com/cr-marcstevens/hashclash"
license=('MIT')
depends=(boost-libs)
makedepends=('git' 'boost')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("${pkgname%-git}::git+https://github.com/cr-marcstevens/hashclash")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
# Git, no tags available
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/${pkgname%-git}"
autoreconf --install
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/${pkgname%-git}"
make DESTDIR="$pkgdir/" install
install -D "$srcdir/${pkgname%-git}/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -d "$pkgdir/usr/share/${pkgname%-git}/scripts"
install -Dt "$pkgdir/usr/share/${pkgname%-git}/scripts" -m755 scripts/*
}

View File

@@ -1,10 +1,10 @@
pkgbase = json_dto
pkgdesc = A small header-only library for converting data between json representation and c++ structs
pkgver = 0.3.3
pkgrel = 1
pkgrel = 2
url = https://github.com/Stiffstream/json_dto
arch = any
license = BSD
license = BSD-3-Clause
checkdepends = catch2-v2
makedepends = cmake
depends = rapidjson

View File

@@ -1,11 +1,11 @@
# Maintainer: Bert Peters <bert@bertptrs.nl>
pkgname=json_dto
pkgver=0.3.3
pkgrel=1
pkgrel=2
pkgdesc="A small header-only library for converting data between json representation and c++ structs"
arch=(any)
url="https://github.com/Stiffstream/json_dto"
license=('BSD')
license=('BSD-3-Clause')
depends=(rapidjson)
makedepends=(cmake)
checkdepends=(catch2-v2)
@@ -16,6 +16,7 @@ build() {
cd "$pkgname-v.$pkgver"
cmake dev -DCMAKE_INSTALL_PREFIX=/usr -DJSON_DTO_SAMPLE=Off \
-DJSON_DTO_TEST=On \
-DCMAKE_BUILD_TYPE=None \
-DJSON_DTO_FIND_DEPS=On -Wno-dev
make
}