PKGBUILD (620B)
1 # Maintainer: Nick Econopouly <wry at mm dot st> 2 pkgname=tiny-irc-client-git 3 pkgver="0.10.0" 4 pkgrel=1 5 pkgdesc="A console IRC client" 6 arch=('x86_64') 7 provides=('tiny-irc-client') 8 conflicts=('tiny-irc-client') 9 url="https://github.com/osa1/tiny" 10 license=('MIT') 11 depends=('openssl' 'dbus') 12 makedepends=('git' 'rust') 13 source=(git+$url) 14 sha512sums=(SKIP) 15 16 build() { 17 18 # build tiny 19 cd tiny 20 cargo install --path crates/tiny --features=desktop-notifications 21 } 22 23 package() { 24 cd tiny 25 install -Dm755 target/release/tiny "$pkgdir/usr/bin/tiny" 26 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/tiny/LICENSE" 27 }