blob: c97af86ebde535527aefb3cfbba14ffa6fae8458 (
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
|
# Maintainer: Matt Quintanilla <matt at matt quintanilla . xyz>
pkgname=sxwm-git
_pkgname=sxwm
pkgver=r147.ae590dc
pkgrel=1
pkgdesc="Tiling window managers don't have to be difficult"
arch=('i686' 'x86_64')
url="https://github.com/uint23/sxwm"
license=('MIT')
depends=('libx11' 'libxinerama' 'libxcursor')
makedepends=('gcc' 'git')
provides=($_pkgname)
conflicts=($_pkgname)
source=(git+https://github.com/uint23/sxwm.git)
sha256sums=('SKIP')
pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
build() {
cd "$srcdir/$_pkgname"
make LDFLAGS="-lX11 -lXinerama -lXcursor"
}
package() {
cd "$srcdir/$_pkgname"
install -Dm755 sxwm "$pkgdir/usr/bin/sxwm"
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|