blob: 1a5e36d4bcb33497f5ced4d31db47a139ff28da9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: Danil Kondratiev <knightpp@protonmail.com>
pkgname=flowy-git
pkgver=0.3.2.r1.ce22ef8
pkgrel=1
pkgdesc="Dynamic desktop wallpaper changer"
arch=('any')
url="https://github.com/vineetred/flowy"
license=('GPL3')
depends=('gcc-libs')
makedepends=('git' 'cargo')
source=("$pkgname::git+https://github.com/vineetred/flowy.git")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}"
printf "%s" "$(git describe --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}
build() {
cd "${srcdir}/${pkgname}"
cargo build --release --bin flowy
}
# check() {
# cd "${pkgname}"
# cargo test
# }
package() {
cd "${srcdir}/${pkgname}/target/release/"
strip "./flowy"
install -Dm755 "./flowy" "${pkgdir}/usr/bin/flowy"
}
|