aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Bidulock <bidulock@openss7.org>2015-07-08 23:31:40 -0600
committerBrian Bidulock <bidulock@openss7.org>2015-07-08 23:31:40 -0600
commit156158323c5ce9acd9480945f8c559d0a5b7a48e (patch)
tree969f962c588c4250f1ba35388496619815dc38d4
downloadAUR-156158323c5ce9acd9480945f8c559d0a5b7a48e.tar.gz
AUR-156158323c5ce9acd9480945f8c559d0a5b7a48e.tar.zst
AUR-156158323c5ce9acd9480945f8c559d0a5b7a48e.zip
initial version
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD43
-rw-r--r--dwm.desktop7
-rw-r--r--dwm.install4
4 files changed, 77 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 0000000..d51809c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
1pkgbase = dwm-git
2 pkgdesc = A dynamic window manager for X
3 pkgver = 6.0.43.g14343e6
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 options = zipman
17 source = dwm.desktop
18 source = dwm::git+http://git.suckless.org/dwm
19 md5sums = 939f403a71b6e85261d09fc3412269ee
20 md5sums = SKIP
21
22pkgname = dwm-git
23
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..03f94b8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,43 @@
1pkgname=dwm-git
2_pkgname=dwm
3pkgver=6.0.43.g14343e6
4pkgver(){
5 cd $_pkgname
6 git describe --tags |sed 's/-/./g'
7}
8pkgrel=1
9pkgdesc="A dynamic window manager for X"
10url="http://dwm.suckless.org"
11arch=('i686' 'x86_64')
12license=('MIT')
13options=(zipman)
14depends=('libx11' 'libxinerama')
15makedepends=('git')
16install=dwm.install
17provides=('dwm')
18conflicts=('dwm')
19epoch=1
20source=(dwm.desktop
21 "$_pkgname::git+http://git.suckless.org/dwm")
22md5sums=('939f403a71b6e85261d09fc3412269ee'
23 'SKIP')
24
25prepare() {
26 if [[ -f $SRCDEST/config.h ]]; then
27 cp $SRCDEST/config.h $srcdir/dwm/config.h
28 fi
29}
30
31build() {
32 cd $_pkgname
33 make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
34}
35
36package() {
37 make -C $_pkgname PREFIX=/usr DESTDIR=$pkgdir install
38 install -m644 -D $_pkgname/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
39 install -m644 -D $_pkgname/README $pkgdir/usr/share/doc/$pkgname/README
40 install -m644 -D $srcdir/dwm.desktop $pkgdir/usr/share/xsessions/dwm.desktop
41}
42
43# vim:set ts=2 sw=2 et:
diff --git a/dwm.desktop b/dwm.desktop
new file mode 100644
index 0000000..b0c3354
--- /dev/null
+++ b/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.install b/dwm.install
new file mode 100644
index 0000000..44b50ed
--- /dev/null
+++ b/dwm.install
@@ -0,0 +1,4 @@
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}