Skip to content

Commit

Permalink
Merge pull request #395 from aminvakil/dstp0.4.23
Browse files Browse the repository at this point in the history
upgpkg: dstp 0.4.23-1
  • Loading branch information
aminvakil authored Jan 11, 2025
2 parents c9b08e7 + d068149 commit 71ade3d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions dstp/.SRCINFO
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
pkgbase = dstp
pkgdesc = Run common networking tests against your site
pkgver = 0.4.0
pkgver = 0.4.23
pkgrel = 1
url = https://github.com/ycd/dstp
arch = any
license = MIT
makedepends = go
makedepends = git
source = dstp-0.4.0-1.tar.gz::https://github.com/ycd/dstp/archive/refs/tags/v0.4.0.tar.gz
sha256sums = 64cdaf45206ce2d6e36a56314cc759073dedf9cfcc040800d75bdd896f49fe79
source = dstp-0.4.23-1.tar.gz::https://github.com/ycd/dstp/archive/refs/tags/v0.4.23.tar.gz
sha256sums = 1ab45012204cd68129fd05723dd768ea4a9ce08e2f6c2fa6468c2c88ab65c877

pkgname = dstp
8 changes: 4 additions & 4 deletions dstp/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Maintainer: Amin Vakil <info AT aminvakil DOT com>

pkgname=dstp
pkgver=0.4.0
pkgver=0.4.23
pkgrel=1
pkgdesc="Run common networking tests against your site"
arch=('any')
url="https://github.com/ycd/dstp"
license=('MIT')
makedepends=('go' 'git')
source=("${pkgname}-${pkgver}-${pkgrel}.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('64cdaf45206ce2d6e36a56314cc759073dedf9cfcc040800d75bdd896f49fe79')
sha256sums=('1ab45012204cd68129fd05723dd768ea4a9ce08e2f6c2fa6468c2c88ab65c877')

prepare(){
cd "$pkgname-$pkgver"
Expand All @@ -23,7 +23,7 @@ build() {
export CGO_CXXFLAGS="${CXXFLAGS}"
export CGO_LDFLAGS="${LDFLAGS}"
export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"
go build -o build cmd/dstp/main.go
go build -o build cmd/dstp/dstp.go
}

check() {
Expand All @@ -33,5 +33,5 @@ check() {

package() {
cd "$pkgname-$pkgver"
install -Dm755 build/main "$pkgdir"/usr/bin/$pkgname
install -Dm755 build/dstp "$pkgdir"/usr/bin/$pkgname
}

0 comments on commit 71ade3d

Please sign in to comment.