summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0633de8ec862eed3ca58076adc0874200aed1601 (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
34
35
# Maintainer: brombinmirko <send at mirko dot pm>

pkgname=xfce4-taskbar-plugin-git
pkgver=20201015
pkgrel=1
pkgdesc='A simple Taskbar for XFCE4'
arch=('i686' 'x86_64')
url='https://github.com/mirkobrombin/xfce4-taskbar-plugin.git'
license=('GPL3')
depends=('xfce4-panel>=4.4' 'xfce4-dev-tools' 'libwnck3' 'libxfce4ui' 'gtk3' 'cairo')
makedepends=('git')

source=("git+https://github.com/mirkobrombin/xfce4-taskbar-plugin.git")
sha512sums=('SKIP')

pkgver() {
	cd "${srcdir}/xfce4-taskbar-plugin"
	git log -1 --format="%cd" --date=short | sed 's|-||g'
}

prepare() {
	cd "${srcdir}/xfce4-taskbar-plugin"
  	_pkgver=$(git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g')
	./autogen.sh
}

build() {
	cd "${srcdir}/xfce4-taskbar-plugin"
	make
}

package() {
	cd "${srcdir}/xfce4-taskbar-plugin"
	make DESTDIR="${pkgdir}" install
}