[arch-commits] Commit in toastify/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 13:49:17 UTC 2020


    Date: Tuesday, July 7, 2020 @ 13:49:16
  Author: felixonmars
Revision: 658608

archrelease: copy trunk to community-staging-x86_64

Added:
  toastify/repos/community-staging-x86_64/
  toastify/repos/community-staging-x86_64/PKGBUILD
    (from rev 658607, toastify/trunk/PKGBUILD)

----------+
 PKGBUILD |   26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

Copied: toastify/repos/community-staging-x86_64/PKGBUILD (from rev 658607, toastify/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 13:49:16 UTC (rev 658608)
@@ -0,0 +1,26 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=toastify
+pkgver=0.4.0
+pkgrel=2
+pkgdesc='Commandline tool that shows desktop notifications using notify-rust'
+arch=('x86_64')
+url=https://github.com/hoodie/toastify
+license=('Apache' 'MIT')
+depends=('dbus')
+makedepends=('rust')
+source=("$url/archive/v$pkgver/$pkgname-v$pkgver.tar.gz")
+sha512sums=('ea1bd87e059c945ec69734685f3c91aa573e47665627647279dbf373f1f9db163d1803afab988fffe7ff7df6b32a6d1cf9873080516b8d87895844bd97800cc0')
+
+build() {
+  cd $pkgname-$pkgver
+  cargo build --release --locked
+}
+
+package() {
+  cd $pkgname-$pkgver
+  install -Dt "$pkgdir"/usr/bin target/release/$pkgname
+  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE-MIT
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list