indicator-kdeconnect-git/PKGBUILD

32 lines
911 B
Bash
Raw Normal View History

2016-08-30 00:33:54 +09:00
# Maintainer: Sebastian Gumprich <sebastian.gumprich@38.de>
# Contributor: shimi <shimi.chen@gmail.com>
2015-08-12 04:43:47 +09:00
# Contributor: Gustavo Castro <gustawho at gmail dot com>
pkgname=indicator-kdeconnect-git
2017-04-18 06:12:34 +09:00
pkgver=r276.c694300
2016-09-21 01:29:01 +09:00
pkgrel=1
2015-08-12 04:43:47 +09:00
_gitname=indicator-kdeconnect
pkgdesc="Integrate KDEConnect on desktop environments that use AppIndicators (e.g. Unity)"
arch=('any')
2016-11-05 02:46:15 +09:00
url="https://github.com/bajoja/indicator-kdeconnect"
2015-08-12 04:43:47 +09:00
license=('GPL')
2017-04-19 02:32:34 +09:00
conflicts=('indicator-kdeconnect')
provides=('indicator-kdeconnect')
2015-08-12 04:43:47 +09:00
depends=('libappindicator-gtk3' 'kdeconnect' 'vala')
makedepends=('git' 'cmake')
2016-11-05 02:46:15 +09:00
source=('git://github.com/bajoja/indicator-kdeconnect.git')
2015-08-12 04:43:47 +09:00
md5sums=('SKIP')
pkgver() {
cd $_gitname
2017-04-18 06:12:34 +09:00
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
2015-08-12 04:43:47 +09:00
}
package() {
cd indicator-kdeconnect
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
make
make DESTDIR="${pkgdir}" install
}