blob: a69d9270ae12b34a30a0ab8cac3ca269750c5ded (
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
36
|
# Maintainer: orhun <orhunparmaksiz@gmail.com>
# https://github.com/orhun/pkgbuilds
pkgname=mmwm-git
pkgver=r109.a454c08
pkgrel=1
pkgdesc="Modern Minimalistic Window Manager (git)"
url="https://github.com/kaugm/mmwm"
arch=('i686' 'x86_64')
license=('custom:MIT/X')
depends=('libx11' 'xcb-util' 'xcb-util-wm' 'xcb-util-keysyms')
makedepends=('git')
source=("git+$url")
sha256sums=('SKIP')
pkgver() {
cd "${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "${pkgname%-git}"
mv config.def.h config.h
}
build() {
cd "${pkgname%-git}"
make
}
package() {
cd "${pkgname%-git}"
make PREFIX=/usr DESTDIR="$pkgdir" install
install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
}
|