blob: 04460772eb4380f94afed9b7ef2cc836a3c8abb0 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Maintainer: ArtFox3 <artfox3@gmail.com>
pkgname="applet-window-buttons-git"
_pkgname="applet-window-buttons"
pkgver=0.11.1
pkgrel=3
epoch=
pkgdesc="This is a Plasma 5 applet that shows window buttons in your panels"
arch=('i686' 'x86_64')
url="https://github.com/psifidotos/applet-window-buttons"
license=('GPL')
groups=()
conflicts=('applet-window-buttons')
provides=('applet-window-buttons')
makedepends=(
'gcc' 'git' 'extra-cmake-modules'
)
depends=(
'plasma-framework5'
#'gettext'
'kdecoration'
)
source=(
"$pkgname::git+https://github.com/psifidotos/applet-window-buttons.git#commit=924994e10402921bf22fefc099bca2914989081c"
)
_sourcename="applet-window-buttons"
noextract=()
md5sums=('SKIP')
validpgpkeys=()
#pkgver() {
# cd "$pkgname"
# ( set -o pipefail
# git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
# )
#}
build() {
cd "$pkgname"
if ! [ -a build ] ; then
mkdir build
fi
cd build
#cmake -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" -DCMAKE_BUILD_TYPE=Release -Wnodev ..
cmake -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_BUILD_TYPE=Release -Wnodev ..
make -j$(nproc)
}
package() {
cd "$pkgname/build"
make DESTDIR="$pkgdir/" install
}
|