summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f9b1eb27bb361f271023223c1a1577ee3f44ad57 (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: Denis Sheremet <feedback-from-aur@lxlz.space>
pkgname=kmswpc-git
pkgver=r2.4d87e4a
pkgrel=1
pkgdesc="KDE-multiscreen-wallpaper-cutter: a Bash script to split an image according to current monitors setup."
arch=('any')
url="https://github.com/tharrrk/KDE-multiscreen-wallpaper-cutter"
license=('APACHE')
groups=()
depends=('xorg-xrandr' 'imagemagick')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
replaces=()
backup=()
options=()
install=
source=("${pkgname%-git}::git+https://github.com/tharrrk/KDE-multiscreen-wallpaper-cutter")
noextract=()
md5sums=('SKIP')

# Please refer to the 'USING VCS SOURCES' section of the PKGBUILD man page for
# a description of each element in the source array.

pkgver() {
	cd "$srcdir/${pkgname%-git}"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
	cd "$srcdir/${pkgname%-git}"
	install -DT "${pkgname%-git}.sh" "$pkgdir/usr/bin/${pkgname%-git}"
}