summaryrefslogtreecommitdiffstats
path: root/flowy/PKGBUILD
diff options
context:
space:
mode:
authorYigit Sever2021-11-16 15:56:06 +0300
committerYigit Sever2021-11-16 15:56:06 +0300
commit5f672acc55ffe9d72c39d76f4bc1ae8ec6539067 (patch)
treee397ba75937e9fe569b57cc736cdd5fdda14a112 /flowy/PKGBUILD
parentb12b893ba2ae85b42c9a370dcf8885fe2755734c (diff)
downloadpackages-5f672acc55ffe9d72c39d76f4bc1ae8ec6539067.tar.gz
packages-5f672acc55ffe9d72c39d76f4bc1ae8ec6539067.tar.bz2
packages-5f672acc55ffe9d72c39d76f4bc1ae8ec6539067.zip
Tracking adopted packages
- dvc - flowy - ouch{-bin, -git,}
Diffstat (limited to 'flowy/PKGBUILD')
-rw-r--r--flowy/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
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}