diff --git a/repo/ooniprobe-cli/PKGBUILD b/repo/ooniprobe-cli/PKGBUILD deleted file mode 100644 index 57177a2..0000000 --- a/repo/ooniprobe-cli/PKGBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Maintainer: bgme -# Contributor: ml <> - -_pkgname=probe-cli -pkgname=ooniprobe-cli -pkgver=3.22.0 -_pkgver=3.22.0 -pkgrel=1 -pkgdesc='Next generation OONI Probe CLI' -arch=('x86_64') -url='https://ooni.org/' -license=('GPL-3.0-or-later') -depends=('glibc') -makedepends=('go') -source=("${_pkgname}-${_pkgver}.tar.gz::https://github.com/ooni/${_pkgname}/archive/refs/tags/v${_pkgver}.tar.gz") -sha256sums=('07b03ee7e23dfbd125616c8b565009a1dde736d28f731eca722c98d7a5b67e91') -sha512sums=('93ece0ab6755f76434db5dea370f105e33522dd218972abbbb4fd529086ecf24b8e7d8bc45f816fcbe54585d9028b963476b8b152262f95edf7ea5e18d298c26') - -build() { - cd "${_pkgname}-${_pkgver}" - GOVERSION=$(cat GOVERSION) - export GOTOOLCHAIN=go${GOVERSION} - - export CGO_ENABLED=1 - export CGO_LDFLAGS="$LDFLAGS" - export CGO_CFLAGS="$CFLAGS" - export CGO_CPPFLAGS="$CPPFLAGS" - export CGO_CXXFLAGS="$CXXFLAGS" - export GOFLAGS='-ldflags=-linkmode=external -buildmode=pie -trimpath -modcacherw' - go build ./cmd/ooniprobe -} - -package() { - cd "${_pkgname}-${pkgver}" - install -Dm755 ooniprobe -t "$pkgdir/usr/bin" - install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname" - install -Dm644 Readme.md -t "$pkgdir/usr/share/doc/$pkgname" -} diff --git a/repo/ooniprobe-cli/lilac.yaml b/repo/ooniprobe-cli/lilac.yaml deleted file mode 100644 index b4f0974..0000000 --- a/repo/ooniprobe-cli/lilac.yaml +++ /dev/null @@ -1,13 +0,0 @@ -maintainers: - - github: yingziwu - email: i@bgme.me - -build_prefix: extra-x86_64 - -pre_build: aur_pre_build - -post_build: aur_post_build - -update_on: - - source: aur - aur: ooniprobe-cli diff --git a/repo/zdns-git/PKGBUILD b/repo/zdns-git/PKGBUILD deleted file mode 100644 index 5a18861..0000000 --- a/repo/zdns-git/PKGBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# Maintainer: bgme - -pkgname=zdns-git -pkgdesc='A command-line utility that provides high-speed DNS lookups.' -pkgver=1.1.0.437.2b3e427 -pkgrel=1 -url='https://github.com/zmap/zdns' -arch=('x86_64') -license=('Apache-2.0') -depends=('glibc') -makedepends=('git' 'go') -provides=('zdns') -source=(${pkgname}::git+https://github.com/zmap/zdns.git#branch=main) -sha512sums=('SKIP') - -pkgver() { - cd ${pkgname} - printf "%s.%s.%s" \ - "$(git tag -l | cut -d- -f1 | sort -V -r | head -n1 | cut -dv -f2)" \ - "$(git rev-list --count HEAD)" \ - "$(git rev-parse --short HEAD)" -} - -build() { - cd ${pkgname} - export CGO_LDFLAGS="${LDFLAGS}" - export CGO_CPPFLAGS="${CPPFLAGS}" - export CGO_CFLAGS="${CFLAGS}" - export CGO_CXXFLAGS="${CXXFLAGS}" - export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw" - go build . - - for i in zsh bash fish; do - ./zdns completion $i >zdns.$i - done -} - -package() { - cd ${pkgname} - - install -Dm 755 zdns "${pkgdir}/usr/bin/zdns" - - install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/zdns/LICENSE" - - install -Dm 644 zdns.zsh "${pkgdir}/usr/share/zsh/site-functions/_zdns" - install -Dm 644 zdns.bash "${pkgdir}/usr/share/bash-completion/completions/zdns" - install -Dm 644 zdns.fish "${pkgdir}/usr/share/fish/vendor_completions.d/zdns.fish" -} diff --git a/repo/zdns-git/lilac.yaml b/repo/zdns-git/lilac.yaml deleted file mode 100644 index f369b14..0000000 --- a/repo/zdns-git/lilac.yaml +++ /dev/null @@ -1,17 +0,0 @@ -maintainers: - - github: yingziwu - email: i@bgme.me - -build_prefix: extra-x86_64 - -pre_build_script: | - aur_pre_build() - vcs_update() - -post_build: aur_post_build - -update_on: - - source: aur - aur: zdns-git - - source: github - github: zmap/zdns