summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 15a91081ae2565489051d20186e196cbba7c8279 (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
# Contributor: twa022 <twa022 at gmail dot com>

_pkgname=dockbarx-mate-applet
pkgname=${_pkgname}-git
pkgver=1.0+1+g393d469
pkgrel=1
pkgdesc="DockBarX MATE applet"
arch=('any')
url="https://github.com/xuzhen/dockbarx-mate-applet"
license=('GPL3')
depends=('dockbarx>=1.0beta3+9+g6c3abc0' 'mate-panel')
provides=("${_pkgname}=${pkgver}")
conflicts=("${_pkgname}" 'dockbarx<1.0beta3+9+g6c3abc0')
source=("${_pkgname}::git+${url}.git")
sha256sums=('SKIP')

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

build() {
  cd "${_pkgname}"
  make PREFIX=/usr
}
package() {
  cd "${_pkgname}"
  make PREFIX="${pkgdir}"/usr install
}