blob: b75851738bdf3c854d45369fa46afb58318b5b96 (
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
|
# Maintainer: Étienne Deparis <etienne@depar.is>
pkgname=chwall-git
_gitname=chwall
pkgver=0.4.5r206.cf9a3fa
pkgrel=1
pkgdesc="A tiny wallpaper changer, written in python"
arch=("any")
url="https://git.deparis.io/chwall/about/"
license=("WTFPL")
depends=("gtk3" "python-cssselect" "python-gobject" "python-lxml"
"python-requests" "python-xdg" "python-yaml")
makedepends=("python-setuptools" "imagemagick" "git")
conflicts=("chwall")
source=("git+https://git.deparis.io/${_gitname}")
md5sums=("SKIP")
pkgver() {
cd "$srcdir/${_gitname}"
curver=$(python -c "from chwall.utils import VERSION;print(VERSION)")
printf "%sr%s.%s" "$curver" "$(git rev-list --count HEAD)" \
"$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir/${_gitname}"
make dist DESTDIR=$pkgdir
}
|