blob: 45c2cb164897eef492cf79bc9c6043762ea9f542 (
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
|
# Maintainer: Brian Bidulock <bidulock@openss7.org>
# Contributor: nem <nem@ikitten.co.uk>
pkgname=mantis-wm-git
pkgver=0.11.c5805bd
pkgrel=2
pkgdesc="Lightweight window manager for X"
arch=('i686' 'x86_64')
url="http://github.com/andreas-volker/mantis-wm"
license=('MIT')
depends=('libx11')
makedepends=('git')
source=("$pkgname::git+https://github.com/andreas-volker/mantis-wm.git")
md5sums=( 'SKIP')
pkgver() {
cd $pkgname
echo "0.$(git rev-list --count HEAD).$(git describe --always)"
}
build() {
cd $pkgname
make VERSION_SUFFIX="-git"
}
package() {
cd $pkgname
make VERSION_SUFFIX="-git" \
PREFIX=$pkgdir/usr \
ETCDIR=$pkgdir/etc install
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|