summaryrefslogtreecommitdiffstats
path: root/flowy
diff options
context:
space:
mode:
authorYigit Sever2021-10-31 21:40:08 +0300
committerYigit Sever2021-10-31 21:40:08 +0300
commit41f4b6dc69c48118c0387ba457171573d1dde2db (patch)
tree3c2039cb392a1c9ffccc579d3bd7df0419683b3b /flowy
parent31d147b20c67d95a9e306d0749200bf964ac42af (diff)
downloadpackages-41f4b6dc69c48118c0387ba457171573d1dde2db.tar.gz
packages-41f4b6dc69c48118c0387ba457171573d1dde2db.tar.bz2
packages-41f4b6dc69c48118c0387ba457171573d1dde2db.zip
Publish flowy
Diffstat (limited to 'flowy')
-rw-r--r--flowy/.SRCINFO13
-rw-r--r--flowy/PKGBUILD30
2 files changed, 43 insertions, 0 deletions
diff --git a/flowy/.SRCINFO b/flowy/.SRCINFO
new file mode 100644
index 0000000..a6a3064
--- /dev/null
+++ b/flowy/.SRCINFO
@@ -0,0 +1,13 @@
1pkgbase = flowy
2 pkgdesc = A lean, privacy-preserving dynamic wallpaper changer written in Rust
3 pkgver = 0.4.0
4 pkgrel = 1
5 url = https://github.com/vineetred/flowy
6 arch = x86_64
7 license = GPL
8 makedepends = cargo
9 conflicts = flowy-git
10 source = flowy-0.4.0.tar.gz::https://github.com/vineetred/flowy/archive/0.4.0.tar.gz
11 sha256sums = a0c4b98140df25f4c0a6d129dd9f5394c930c304c93527b5a7c664d649b9d677
12
13pkgname = 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 @@
1# Maintainer: Yigit Sever <yigit at yigitsever dot com>
2
3pkgname=flowy
4pkgver=0.4.0
5pkgrel=1
6pkgdesc="A lean, privacy-preserving dynamic wallpaper changer written in Rust"
7arch=('x86_64')
8url="https://github.com/vineetred/flowy"
9license=('GPL')
10makedepends=('cargo')
11conflicts=("${pkgname}-git")
12source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
13sha256sums=('a0c4b98140df25f4c0a6d129dd9f5394c930c304c93527b5a7c664d649b9d677')
14
15prepare() {
16 cd "$pkgname-$pkgver"
17 cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
18}
19
20build() {
21 cd "$pkgname-$pkgver"
22 export RUSTUP_TOOLCHAIN=stable
23 export CARGO_TARGET_DIR=target
24 cargo build --frozen --release --all-features
25}
26
27package() {
28 cd "$pkgname-$pkgver"
29 install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$pkgname"
30}