blob: af573c87a5b4ad1f54426f04deac4cbc0963fd31 (
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
|
# Maintainer: Michał Wojdyła < micwoj9292 at gmail dot com >
# Contributor: Arlo Siemsen <arkixml@gmail.com>
pkgname=gridmgr-git
pkgver=r32.d30b31c
pkgrel=1
pkgdesc="command line tool which provides keyboard-bindable commands for easy window manipulation."
arch=('i686' 'x86_64')
url="http://nickbp.com/gridmgr/"
license=('GPL-3.0-or-later')
depends=('libxinerama' 'gcc-libs' 'libx11' 'glibc')
provides=('gridmgr')
conflicts=('gridmgr')
makedepends=('git' 'cmake')
source=("$pkgname::git+https://git.sr.ht/~nickbp/gridmgr")
md5sums=('SKIP')
pkgver() {
cd $pkgname
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd $pkgname
LDFLAGS+=' -Wl,-z,shstk'
cmake src
make
}
package() {
cd $pkgname
install -Dm755 gridmgr "${pkgdir}/usr/bin/gridmgr"
}
# vim:set ts=2 sw=2 et:
|