Date: Monday, September 26, 2022 @ 19:40:54
  Author: polyzen
Revision: 1311526

archrelease: copy trunk to community-x86_64

Added:
  toastify/repos/community-x86_64/PKGBUILD
    (from rev 1311525, toastify/trunk/PKGBUILD)
Deleted:
  toastify/repos/community-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-09-26 19:40:32 UTC (rev 1311525)
+++ PKGBUILD    2022-09-26 19:40:54 UTC (rev 1311526)
@@ -1,26 +0,0 @@
-# Maintainer: Daniel M. Capella <[email protected]>
-
-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:

Copied: toastify/repos/community-x86_64/PKGBUILD (from rev 1311525, 
toastify/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-09-26 19:40:54 UTC (rev 1311526)
@@ -0,0 +1,33 @@
+# Maintainer: Daniel M. Capella <[email protected]>
+
+pkgname=toastify
+pkgver=0.5.0
+pkgrel=1
+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-$pkgver.tar.gz"
+        
"$pkgname-$pkgver-fix-version.patch::https://github.com/hoodie/toastify/commit/fe1e9d70cc7a2f9ba93f8db7732df3d242e8af73.patch";)
+b2sums=('692a8bdbf1651b20cd583bc6e502d1102e1d6b584095ade27322cec2e04b7260474683099f0037356016615027aab9833e434bcfa283447be28e7ad963b4c69e'
+        
'b4a99f5c174caea5c4f016ca5995cbfd167632a471b2ee415fbca6f8c9b0a9ea3d7e8fb238c4a8dc4bbf27b606ac992af4ae5682d59d3e551eb86f01b4b435df')
+
+prepare() {
+  cd $pkgname-$pkgver
+  cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+
+  patch --forward --strip=1 --input=../$pkgname-$pkgver-fix-version.patch
+}
+
+build() {
+  cd $pkgname-$pkgver
+  cargo build --release --locked --offline
+}
+
+package() {
+  cd $pkgname-$pkgver
+  install -Dt "$pkgdir"/usr/bin target/release/$pkgname
+  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE-MIT
+}

Reply via email to