-
Notifications
You must be signed in to change notification settings - Fork 0
/
PKGBUILD
30 lines (27 loc) · 912 Bytes
/
PKGBUILD
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
# Maintainer: Sean Sullivan <[email protected]>
pkgname=dwm
pkgver=6.2
pkgrel=1
epoch=1
pkgdesc="Sean's dynamic window manager with sensible defaults, etc."
arch=('i686' 'x86_64')
url="https://github.com/sullivan-sean/dwm"
license=('MIT')
options=(zipman)
depends=('libx11' 'libxinerama' 'libxft' 'freetype2')
source=('git://github.com/sullivan-sean/dwm'
'config.h')
sha1sums=('SKIP' 'SKIP')
build() {
cd "$srcdir/${pkgname}"
cp "$srcdir/config.h" config.h
make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 FREETYPEINC=/usr/include/freetype2
}
package() {
local installopts='--mode 0644 -D'
cd "$srcdir/${pkgname}"
make PREFIX=/usr DESTDIR="$pkgdir/" install
install $installopts LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install $installopts README "${pkgdir}/usr/share/doc/${pkgname}/README"
install $installopts dwm.desktop "${pkgdir}/usr/share/xsessions/dwm.desktop"
}