blob: 1970fc75d5cff5b6f1af9a898e00d19c04210155 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: Oleksandr Natalenko aka post-factum <oleksandr@natalenko.name>
pkgname=pingtcp
pkgver=0.0.6
pkgrel=1
pkgdesc="Small utility to measure TCP handshake time (torify-friendly)"
url="https://codeberg.org/post-factum/${pkgname}"
arch=(x86_64)
license=(GPL3)
depends=(libbsd)
makedepends=(meson)
optdepends=("torsocks: for TOR support")
source=(${pkgname}-${pkgver}.tar.gz::https://codeberg.org/post-factum/${pkgname}/archive/v${pkgver}.tar.gz)
sha256sums=('687ce10f8dc8446d9253c3bbca9dedeae8a91f9cf81a855ae0ed41017318e3f4')
build() {
cd ${pkgname}
arch-meson . build
meson compile -C build
}
package() {
cd ${pkgname}
meson install -C build --destdir "${pkgdir}"
}
|