summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e1cd135011d935e692b5c088ee3c46e34607d0a5 (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
36
# Maintainer:  twa022 <twa022 at gmail dot com>

_pkgname=xfce4-windowck-plugin
pkgname=${_pkgname}-xfwm4-theme-support
epoch=1
pkgver=0.4.5+139+g23d3432
pkgrel=1
pkgdesc="Xfce panel plugin for displaying window title and buttons (xfwm4 theme support reenabled)"
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
url="https://github.com/twa022/xfce4-windowck-plugin"
license=('GPL3')
depends=('xfce4-panel>=4.14.0' 'libwnck3')
makedepends=('intltool' 'xfce4-dev-tools' 'python' 'imagemagick' 'git')
provides=("${_pkgname}=${pkgver%%+*}")
conflicts=("${_pkgname}")
options=('!libtool')
source=("${_pkgname}::git+${url}#branch=xfwm-support")
sha256sums=('SKIP')

pkgver() {
  cd "${srcdir}/${_pkgname}"
  git describe --long --tags | sed -r "s:^${_pkgname}-::;s:^v::;s/-/+/g"
}

build() {
  cd "${srcdir}/${_pkgname}"

  ./autogen.sh \
    --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${_pkgname}"
  make DESTDIR="$pkgdir" install
}