blob: 8dfc7d0a8de958c8170f9c763c1ed60caaf6b6df (
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
|
# Maintainer: Kyle Keen <keenerd@gmail.com>
pkgname=gromit-mpx-git
_gitname=gromit-mpx
pkgver=1.3.r26.g7c83680
pkgrel=1
pkgdesc="Desktop annotation tool. GTK3 multi-pointer variant of original gromit utility."
arch=('i686' 'x86_64')
url="https://github.com/bk138/gromit-mpx"
license=("GPL2")
depends=('libappindicator-gtk3')
makedepends=('cmake')
provides=('gromit')
conflicts=('gromit')
source=("git+https://github.com/bk138/gromit-mpx.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_gitname"
git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/$_gitname"
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "$srcdir/$_gitname"
make DESTDIR="$pkgdir/" install
}
|