summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f3903f2ab930e94b9eaed41a2728d6ae40855c4c (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: Rene Hahne <rehahne@gmail.com>

_pkgname=plasma-applet-places-widget
pkgname=${_pkgname}-git
pkgver=1.4.0
pkgrel=1
pkgdesc='Plasmoid Places Widget for Plasma desktop'
arch=('any')
url='https://github.com/HessiJames/plasma-applet-places-widget'
license=('GPL2')
depends=( 'plasma-framework5' 'plasma-workspace' )
makedepends=( 'git' 'cmake' )
source=("${_pkgname}::git+https://github.com/HessiJames/plasma-applet-places-widget.git")
sha1sums=('SKIP')

pkgver() {
    cd ${_pkgname}
    _ver=${pkgver}".$(git rev-parse --short HEAD)"
    echo "${_ver}"
}

build() {
	cd ${_pkgname}
	mkdir build
	cd build
    cmake -DCMAKE_INSTALL_PREFIX=/usr ..
}

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

# vim:set ts=2 sw=2 et: