[arch-commits] Commit in (4 files)

Daniel M. Capella polyzen at archlinux.org
Mon Dec 31 01:24:46 UTC 2018


    Date: Monday, December 31, 2018 @ 01:24:45
  Author: polyzen
Revision: 419927

Initial commit

Added:
  toastify/
  toastify/repos/
  toastify/trunk/
  toastify/trunk/PKGBUILD

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

Added: toastify/trunk/PKGBUILD
===================================================================
--- toastify/trunk/PKGBUILD	                        (rev 0)
+++ toastify/trunk/PKGBUILD	2018-12-31 01:24:45 UTC (rev 419927)
@@ -0,0 +1,26 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=toastify
+pkgver=0.3.4
+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=("$pkgname-$pkgver.tar.gz::https://crates.io/api/v1/crates/$pkgname/$pkgver/download")
+sha512sums=('f75e24b6199e27e7c6225dbf71fff5d322200cbc3c426d71104267e10f865b992af1c1fd18917dc187f2285926763551e4c6941c1021290e2d5ee234420616b4')
+
+build() {
+  cd $pkgname-$pkgver
+  cargo build --release
+}
+
+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