aboutsummaryrefslogtreecommitdiff
path: root/dwm-git
diff options
context:
space:
mode:
Diffstat (limited to 'dwm-git')
-rw-r--r--dwm-git/.AURINFO21
-rw-r--r--dwm-git/.SRCINFO24
-rw-r--r--dwm-git/PKGBUILD46
-rw-r--r--dwm-git/dwm.desktop7
-rw-r--r--dwm-git/dwm.install5
5 files changed, 103 insertions, 0 deletions
diff --git a/dwm-git/.AURINFO b/dwm-git/.AURINFO
new file mode 100644
index 0000000..7cf8c1d
--- /dev/null
+++ b/dwm-git/.AURINFO
@@ -0,0 +1,21 @@
1pkgbase = dwm-git
2 pkgdesc = A dynamic window manager for X
3 pkgver = 6.0.41.g3d1090b
4 pkgrel = 1
5 epoch = 1
6 url = http://dwm.suckless.org
7 install = dwm.install
8 arch = i686
9 arch = x86_64
10 license = MIT
11 makedepends = git
12 depends = libx11
13 depends = libxinerama
14 provides = dwm
15 conflicts = dwm
16 source = dwm.desktop
17 source = dwm::git+http://git.suckless.org/dwm
18 options = zipman
19
20pkgname = dwm-git
21
diff --git a/dwm-git/.SRCINFO b/dwm-git/.SRCINFO
new file mode 100644
index 0000000..6f6e0b0
--- /dev/null
+++ b/dwm-git/.SRCINFO
@@ -0,0 +1,24 @@
1pkgbase = dwm-git
2 pkgdesc = A dynamic window manager for X
3 pkgver = 6.2
4 pkgrel = 1
5 epoch = 1
6 url = http://dwm.suckless.org
7 install = dwm.install
8 arch = i686
9 arch = x86_64
10 license = MIT
11 makedepends = git
12 depends = libx11
13 depends = libxinerama
14 depends = libxft
15 provides = dwm
16 conflicts = dwm
17 options = zipman
18 source = dwm.desktop
19 source = dwm::git+http://git.suckless.org/dwm
20 md5sums = 939f403a71b6e85261d09fc3412269ee
21 md5sums = SKIP
22
23pkgname = dwm-git
24
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:
diff --git a/dwm-git/dwm.desktop b/dwm-git/dwm.desktop
new file mode 100644
index 0000000..b0c3354
--- /dev/null
+++ b/dwm-git/dwm.desktop
@@ -0,0 +1,7 @@
1[Desktop Entry]
2Encoding=UTF-8
3Name=Dwm
4Comment=Dynamic window manager
5Exec=dwm
6Icon=dwm
7Type=XSession
diff --git a/dwm-git/dwm.install b/dwm-git/dwm.install
new file mode 100644
index 0000000..9675514
--- /dev/null
+++ b/dwm-git/dwm.install
@@ -0,0 +1,5 @@
1post_install() {
2 echo "-- Edit config.h in dwm's PKGBUILD directory (generally /var/abs/community/dwm/)"
3 echo "-- and rebuild package if you want to change settings."
4 echo "-- Or, place custom config.h in \$SRCDEST/dwm-git/config.h and rebuild."
5}