blob: 7eb5be25839a01073ed39fb0c4dbd2fa790fecbe (
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
|
# Maintainer: Nazar Vinnichuk <nazar.vinnichuk at tutanota dot com>
pkgname=pacwall-git
_pkgname=${pkgname%-git}
pkgver=1.4.1
pkgrel=1
pkgdesc="A dependency graph of installed packages wallpaper creator."
url="http://github.com/Kharacternyk/${_pkgname}"
arch=('any')
license=('GPL3')
depends=('graphviz' 'pacman-contrib')
optdepends=('feh: wallpaper setting using feh'
'hsetroot: wallpaper setting using hsetroot'
'imagemagick: DE integration'
'xorg-xdpyinfo: DE integration')
makedepends=('git')
conflicts=("${_pkgname}")
source=("${_pkgname}::git+https://github.com/Kharacternyk/${_pkgname}.git#branch=master")
sha256sums=(SKIP)
pkgver() {
cd "${srcdir}/${_pkgname}"
local _version="$(git describe --tags --match 'v*' | sed 's/-/.r/' | sed 's/-/./')"
printf "${_version#v}"
}
package() {
install -Dm755 "${srcdir}/${_pkgname}/pacwall.sh" "${pkgdir}/usr/bin/pacwall"
install -Dm644 "${srcdir}/${_pkgname}/README.rst" "${pkgdir}/usr/share/doc/${_pkgname}/README.rst"
}
|