From 5f672acc55ffe9d72c39d76f4bc1ae8ec6539067 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Tue, 16 Nov 2021 15:56:06 +0300 Subject: Tracking adopted packages - dvc - flowy - ouch{-bin, -git,} --- flowy/.SRCINFO | 13 +++++++++++++ flowy/PKGBUILD | 30 ++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 flowy/.SRCINFO create mode 100644 flowy/PKGBUILD (limited to 'flowy') diff --git a/flowy/.SRCINFO b/flowy/.SRCINFO new file mode 100644 index 0000000..a6a3064 --- /dev/null +++ b/flowy/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = flowy + pkgdesc = A lean, privacy-preserving dynamic wallpaper changer written in Rust + pkgver = 0.4.0 + pkgrel = 1 + url = https://github.com/vineetred/flowy + arch = x86_64 + license = GPL + makedepends = cargo + conflicts = flowy-git + source = flowy-0.4.0.tar.gz::https://github.com/vineetred/flowy/archive/0.4.0.tar.gz + sha256sums = a0c4b98140df25f4c0a6d129dd9f5394c930c304c93527b5a7c664d649b9d677 + +pkgname = flowy diff --git a/flowy/PKGBUILD b/flowy/PKGBUILD new file mode 100644 index 0000000..de48302 --- /dev/null +++ b/flowy/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Yigit Sever + +pkgname=flowy +pkgver=0.4.0 +pkgrel=1 +pkgdesc="A lean, privacy-preserving dynamic wallpaper changer written in Rust" +arch=('x86_64') +url="https://github.com/vineetred/flowy" +license=('GPL') +makedepends=('cargo') +conflicts=("${pkgname}-git") +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") +sha256sums=('a0c4b98140df25f4c0a6d129dd9f5394c930c304c93527b5a7c664d649b9d677') + +prepare() { + cd "$pkgname-$pkgver" + cargo fetch --locked --target "$CARCH-unknown-linux-gnu" +} + +build() { + cd "$pkgname-$pkgver" + export RUSTUP_TOOLCHAIN=stable + export CARGO_TARGET_DIR=target + cargo build --frozen --release --all-features +} + +package() { + cd "$pkgname-$pkgver" + install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$pkgname" +} -- cgit v1.2.3-70-g09d2