[arch-commits] Commit in toastify/repos (community-x86_64 community-x86_64/PKGBUILD)
Daniel M. Capella
polyzen at archlinux.org
Mon Dec 31 01:25:05 UTC 2018
Date: Monday, December 31, 2018 @ 01:25:04
Author: polyzen
Revision: 419928
archrelease: copy trunk to community-x86_64
Added:
toastify/repos/community-x86_64/
toastify/repos/community-x86_64/PKGBUILD
(from rev 419927, toastify/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: toastify/repos/community-x86_64/PKGBUILD (from rev 419927, toastify/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2018-12-31 01:25:04 UTC (rev 419928)
@@ -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