diff options
author | specter119 | 2023-08-05 17:27:27 +0800 |
---|---|---|
committer | specter119 | 2023-08-05 17:27:27 +0800 |
commit | 23d5341739e60cde3d13c2189aed78844296494e (patch) | |
tree | 12b863e9a1ff2e28c8f1cf2e97c8250adc761769 /PKGBUILD | |
parent | b338421db9e72b0a97ad48acfc531d83d9089b5b (diff) | |
download | aur-switchhosts-bin.tar.gz |
4.1.2
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 18 |
1 files changed, 11 insertions, 7 deletions
@@ -2,8 +2,8 @@ # Contributor: Berturion@free.fr> pkgname=switchhosts-bin -pkgver=4.1.1 -pkgrel=2 +pkgver=4.1.2 +pkgrel=1 pkgdesc='Switch hosts quickly!' arch=(x86_64) url=https://swh.app/ @@ -21,16 +21,20 @@ depends=( libsecret ) optdepends=(libappindicator-gtk3) -source=(https://github.com/oldj/SwitchHosts/releases/download/v4.1.1/SwitchHosts_linux_amd64_4.1.1.6077.deb +source=(https://github.com/oldj/SwitchHosts/releases/download/v4.1.2/SwitchHosts_linux_amd64_4.1.2.6086.deb + https://github.com/oldj/SwitchHosts/blob/master/src/assets/icon.png https://raw.githubusercontent.com/oldj/SwitchHosts/master/LICENSE) -sha256sums=('1793245d257818e0a29ab4ea1481af06f56fbbefc96981f9f3b2eb77755ffb67' - 'c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4') +sha256sums=( + a2898640645392952836b8d8d9e7d3edc135b87e2d15c35c13ad567fb333a8b5 + SKIP + SKIP +) package() { bsdtar -xf $srcdir/data.tar.xz -C $pkgdir mkdir -p $pkgdir/usr/{bin,share/pixmaps}/ - mv $pkgdir/usr/share/{icons/hicolor/0x0/apps,pixmaps}/switchhosts.png - rm -rf $pkgdir/usr/share/{doc,icons} + rm -rf $pkgdir/usr/share/doc ln -s /opt/SwitchHosts/switchhosts $pkgdir/usr/bin/ + install -Dm644 icon.png $pkgdir/usr/share/pixmaps/switchhosts.png install -Dm644 LICENSE $pkgdir/usr/share/licenses/${pkgname%-*}/LICENSE } |