blob: ebf1022b9c9e048ea65434394833360d2b384527 (
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
|
# Contributor: twa022 <twa022 at gmail dot com>
pkgname=xfce4-dockbarx-plugin
epoch=1
pkgver=0.7.2
pkgrel=1
pkgdesc="Embed DockbarX in the xfce4-panel"
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
#url="https://github.com/m7s/xfce4-dockbarx-plugin"
url="https://github.com/xuzhen/xfce4-dockbarx-plugin"
license=('X11')
depends=('dockbarx>=1.0beta' 'xfce4-panel')
makedepends=('cmake')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('331973e7ffd88a64497e2ab422ff73c7d71fae6245df9061ce638160a3a5a549')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
[ -d build ] && rm -fr build
mkdir build
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"/build
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"/build
make DESTDIR="${pkgdir}" install
}
|