Repository: osa1/tiny (language: rust)

Issue:
Add tiny to the AUR
Just about to try this - would be nice if it were in the AUR instead of just a misc package.


Discussion / hints:
I'm not an Arch user myself, paging @wrycode @BrianOn99 who are Arch users AFAIK.
@spease We have a PKGBUILD [here](https://github.com/osa1/tiny/blob/master/pkg/archlinux/PKGBUILD), but seems it is not yet submitted to AUR.  @wrycode is it?

Any way if you want to try, just download the PKGBUILD and then `makepkg`.  Welcome!
I am not quite ready to add it to the AUR. Once #65 is implemented there will be a "tiny" (vs "tiny-git") PKGBUILD to make as well, which will probably be a better solution for the average Arch user.

@BrianOn99 if you want to submit it before me, you are welcome to. I am waiting to check and double-check the different guidelines ([Arch Packaging Standards](https://wiki.archlinux.org/index.php/Arch_packaging_standards), [Rules of Submission](https://wiki.archlinux.org/index.php/Arch_User_Repository#Rules_of_submission)) before submitting it. That being said, the PKGBUILD works fine.


Fix patch:
diff --git a/README.md b/README.md
index 528ece38..ca2e71ff 100644
--- a/README.md
+++ b/README.md
@@ -50,10 +50,15 @@ tiny is an IRC client written in Rust.
 Install the Rust nightly toolchain, clone the repo, and run `cargo install` (or
 `cargo install --force` if you already have an older version installed).
 
-Arch Linux users can use this
-[PKGBUILD](pkg/archlinux/PKGBUILD)
-to install tiny as a package. Download it into an empty directory, run
-`makepkg` and install the resulting .pkg.tar.xz with `sudo pacman -U`.
+Arch Linux users can install tiny from the
+[AUR](https://aur.archlinux.org/packages/tiny-irc-client-git/). Note
+that the supported way to meet the rust-nightly dependency is with the
+official
+[Rustup](https://www.archlinux.org/packages/community/x86_64/rustup/)
+package, but you can alternatively install Rustup via the [Rust
+Toolchain
+Installer](https://www.rust-lang.org/en-US/install.html). Either way, remember to
+install the Rust nightly toolchain before running makepkg.
 
 Since version 0.3.0 tiny needs OpenSSL or LibreSSL headers and runtime
 libraries. See [rust-openssl's
diff --git a/pkg/archlinux/PKGBUILD b/pkg/archlinux/PKGBUILD
index 9c614a46..b92e032a 100644
--- a/pkg/archlinux/PKGBUILD
+++ b/pkg/archlinux/PKGBUILD
@@ -1,13 +1,14 @@
-# Maintainer: Nick Econopouly <wry@mm.st>
-pkgname=tiny-git
-pkgver="0.3.0"
+# Maintainer: Nick Econopouly <wry at mm dot st>
+pkgname=tiny-irc-client-git
+pkgver="0.4.0"
 pkgrel=1
 pkgdesc="A console IRC client"
 arch=('x86_64')
+provides=('tiny')
 url="https://github.com/osa1/tiny"
 license=('MIT')
-depends=('openssl')
-makedepends=('git' 'rustup')
+depends=('openssl' 'dbus')
+makedepends=('git' 'rust-nightly')
 
 build() {
         return 0


Test patch: