From 41596ab7be4557b1ef54ef7ce42742cad611e645 Mon Sep 17 00:00:00 2001 From: Ralph Torres Date: Fri, 5 Jan 2024 13:52:49 +0000 Subject: [PATCH] Update README with links to AUR, remove PKGBUILD Arch users should use the AUR links or build from source. --- README.md | 6 ++++-- pkg/archlinux/PKGBUILD | 42 ------------------------------------------ 2 files changed, 4 insertions(+), 44 deletions(-) delete mode 100644 pkg/archlinux/PKGBUILD diff --git a/README.md b/README.md index 7bc948b4..bb412144 100644 --- a/README.md +++ b/README.md @@ -80,9 +80,11 @@ cargo install --git https://github.com/osa1/tiny If you have an older version installed, add `--force` to the command you're using. -Arch Linux users can install tiny from [AUR]. +Arch Linux users can install the latest [stable] and [development] versions +of tiny through the AUR. -[AUR]: https://aur.archlinux.org/packages/tiny-irc-client-git/ +[stable]: https://aur.archlinux.org/packages/tiny/ +[development]: https://aur.archlinux.org/packages/tiny-git/ tiny is tested on Linux and OSX. diff --git a/pkg/archlinux/PKGBUILD b/pkg/archlinux/PKGBUILD deleted file mode 100644 index a2d39ba0..00000000 --- a/pkg/archlinux/PKGBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Maintainer: Jonathan Kirszling -# Maintainer: Ralph Torres -# Contributor: Nick Econopouly - -pkgname=tiny-irc-client-git -pkgver=0.11.0.r18.e125c77 -pkgrel=1 -pkgdesc='A terminal IRC client written in Rust' -arch=(x86_64) -url=https://github.com/osa1/tiny -license=(MIT) - -depends=(dbus) -makedepends=(git cargo) -provides=(${pkgname%-git}) -conflicts=(${pkgname%-git}) -source=(git+$url) -sha512sums=(SKIP) - -_pkgname=${pkgname%-irc-client-git} - -pkgver() { - cd $_pkgname - git describe --tags --long | \ - sed -e 's/\([^-]*-\)g/r\1/' -e 's/-/./g' -e 's/^v//' -} - -build() { - cd $_pkgname - cargo install --path crates/$_pkgname --features=desktop-notifications -} - -package() { - cd $_pkgname - install -Dm755 target/release/$_pkgname "$pkgdir"/usr/bin/$_pkgname - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$_pkgname/LICENSE - install -Dm644 crates/$_pkgname/config.yml \ - "$pkgdir"/usr/share/$_pkgname/config.yml - mkdir -p "$pkgdir"/usr/share/doc/$_pkgname - install -Dm644 ARCHITECTURE.md CHANGELOG.md README.md \ - "$pkgdir"/usr/share/doc/$_pkgname -}