archrelease: copy trunk to community-any
[arch-community.git] / passt / trunk / PKGBUILD
blobe1e6d3c4e360c3c9f28eff62959016f466522e1f
1 # Maintainer: David Runge <dvzrv@archlinux.org>
3 pkgname=passt
4 pkgver=2023_05_09.96f8d55
5 pkgrel=1
6 pkgdesc="Plug A Simple Socket Transport"
7 arch=(x86_64)
8 url="https://passt.top/passt/about/"
9 license=(
10   BSD
11   GPL2
13 depends=(glibc)
14 optdepends=(
15   'sh: for demo script'
17 source=(https://passt.top/$pkgname/snapshot/$pkgname-$pkgver.tar.zst)
18 sha512sums=('72d89636d9b9052af32b1f892f9a9433b426455c87beb441f8fcf4599c2ecda560b4746d4f479b91703e060bf7002f8d9c2a2f3484edae8c86d4df3d7e5b5b55')
19 b2sums=('d71b853548f27efeb8d1192cc9f51597efe39e8324779cde518f9f1220806ef1c0000aceca6c7b6d25f7587ee49e1bd2448bbb69e1e4d40caec4deccb044aa14')
21 build() {
22   make -C $pkgname-$pkgver
25 package() {
26   make DESTDIR="$pkgdir/" prefix=/usr install -C $pkgname-$pkgver
27   install -vDm 644 $pkgname-$pkgver/LICENSES/* -t "$pkgdir/usr/share/licenses/$pkgname/"