aboutsummaryrefslogtreecommitdiff
path: root/dwm-git/PKGBUILD
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-02-22 22:37:46 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-02-22 22:37:46 +0100
commitb720d343f3ee3492d8027450a4636dc8a52793e0 (patch)
tree035c646e720ec74f755e387a851560ca75ff4690 /dwm-git/PKGBUILD
parent17c5082273ac7a7bc23abb4abc08b9e952b45a49 (diff)
parent42bc72cb91c99a4f319bceac69ce3c198ce685d2 (diff)
downloadAUR-b720d343f3ee3492d8027450a4636dc8a52793e0.tar.gz
AUR-b720d343f3ee3492d8027450a4636dc8a52793e0.tar.zst
AUR-b720d343f3ee3492d8027450a4636dc8a52793e0.zip
Add 'dwm-git/' from commit '42bc72cb91c99a4f319bceac69ce3c198ce685d2'
git-subtree-dir: dwm-git git-subtree-mainline: 17c5082273ac7a7bc23abb4abc08b9e952b45a49 git-subtree-split: 42bc72cb91c99a4f319bceac69ce3c198ce685d2
Diffstat (limited to 'dwm-git/PKGBUILD')
-rw-r--r--dwm-git/PKGBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/dwm-git/PKGBUILD b/dwm-git/PKGBUILD
new file mode 100644
index 0000000..d1a0e3c
--- /dev/null
+++ b/dwm-git/PKGBUILD
@@ -0,0 +1,46 @@
1pkgname=dwm-git
2_pkgname=dwm
3pkgver=6.2
4pkgrel=1
5pkgdesc="A dynamic window manager for X"
6url="http://dwm.suckless.org"
7arch=('i686' 'x86_64')
8license=('MIT')
9options=(zipman)
10depends=('libx11' 'libxinerama' 'libxft')
11makedepends=('git')
12install=dwm.install
13provides=('dwm')
14conflicts=('dwm')
15epoch=1
16source=(dwm.desktop
17 "$_pkgname::git+http://git.suckless.org/dwm")
18md5sums=('939f403a71b6e85261d09fc3412269ee'
19 'SKIP')
20
21pkgver(){
22 cd $_pkgname
23 git describe --tags |sed 's/-/./g'
24}
25
26prepare() {
27 cd $_pkgname
28 if [[ -f "$SRCDEST/$pkgname/config.h" ]]; then
29 cp -f "$SRCDEST/$pkgname/config.h" config.h
30 fi
31}
32
33build() {
34 cd $_pkgname
35 make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
36}
37
38package() {
39 cd $_pkgname
40 make PREFIX=/usr DESTDIR="$pkgdir" install
41 install -m644 -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
42 install -m644 -D README "$pkgdir/usr/share/doc/$pkgname/README"
43 install -m644 -D ../dwm.desktop "$pkgdir/usr/share/xsessions/dwm.desktop"
44}
45
46# vim:set ts=2 sw=2 et: