diff options
author | Mohammadreza Abdollahzadeh | 2024-03-28 08:12:46 +0330 |
---|---|---|
committer | Mohammadreza Abdollahzadeh | 2024-03-28 08:12:46 +0330 |
commit | 5e883dfda323f32324a52ce38c0f8225f8c3c50a (patch) | |
tree | 8d3603cbbff60db4ecb8c93fbbcbb947bab2f029 /PKGBUILD | |
parent | 42f1baa2549a731f223f75e231de3f1e4ea2a22e (diff) | |
download | aur-5e883dfda323f32324a52ce38c0f8225f8c3c50a.tar.gz |
upgpkg: warp-plus-bin 1.1.0-1
upstream release
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 20 |
1 files changed, 12 insertions, 8 deletions
@@ -1,22 +1,26 @@ # Maintainer: Mohammadreza Abdollahzadeh <morealaz at gmail dot com> pkgname='warp-plus-bin' -pkgver=1.0.4_rc2 +pkgver=1.1.0 pkgrel=1 +_buildver=cdb551 pkgdesc="An open-source implementation of Cloudflare's Warp, enhanced with Psiphon integration." arch=('x86_64') url="https://github.com/bepass-org/warp-plus" license=('MIT') provides=("${pkgname%-bin}") conflicts=("${pkgname%-bin}") -source=("${pkgname}-${pkgver//_/-}.zip::${url}/releases/download/v${pkgver//_/-}/warp-linux-amd64.b6d64e.zip" - "${pkgname%-bin}.service") -sha256sums=('ae4de0e0928be13abc50a02a1e8edec40202daf59604f2ee59729a2fd2f54c82' - '71c8d7db0b28e860bb94930fa4b5b8566dcfead6d0d83405962082f964b8b8a0') +install="${pkgname%-bin}.install" +source=("${pkgname%-bin}-${pkgver//_/-}-${_buildver}.zip::${url}/releases/download/v${pkgver//_/-}/warp-plus-linux-amd64.${_buildver}.zip" + "${pkgname%-bin}-config.json" + "${pkgname%-bin}.service") +sha256sums=('1f0ac7c201c3a23eb8c343cd4bd77f7e6023b0a818b87aca9b9e2760a14fb810' + 'b76bf2c04e60befcf95cf8ed38bfe3b56da7719cededb97f4048136789abe5fd' + '5ada20e3b2871c0921dfe36d721914fa02fe2f4892919160daa71992e91be49b') package() { - install -Dm755 warp "${pkgdir}/usr/bin/${pkgname%-bin}" + install -D -t "${pkgdir}/usr/bin/" -m 755 "${pkgname%-bin}" install -D -t "${pkgdir}/usr/lib/systemd/system/" -m 644 "${pkgname%-bin}.service" - install -d "${pkgdir}/etc/${pkgname%-bin}" - install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname%-bin}/LICENSE" + install -Dm 644 "${pkgname%-bin}-config.json" "${pkgdir}/etc/${pkgname%-bin}/config.json" + install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname%-bin}/LICENSE" } # vim:set ts=4 sw=4 et: |