diff options
author | Brian Bidulock <bidulock@openss7.org> | 2015-07-08 23:31:40 -0600 |
---|---|---|
committer | Brian Bidulock <bidulock@openss7.org> | 2015-07-08 23:31:40 -0600 |
commit | 156158323c5ce9acd9480945f8c559d0a5b7a48e (patch) | |
tree | 969f962c588c4250f1ba35388496619815dc38d4 | |
download | AUR-156158323c5ce9acd9480945f8c559d0a5b7a48e.tar.gz AUR-156158323c5ce9acd9480945f8c559d0a5b7a48e.tar.zst AUR-156158323c5ce9acd9480945f8c559d0a5b7a48e.zip |
initial version
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | PKGBUILD | 43 | ||||
-rw-r--r-- | dwm.desktop | 7 | ||||
-rw-r--r-- | dwm.install | 4 |
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 @@ | |||
1 | pkgbase = 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 | |||
22 | pkgname = dwm-git | ||
23 | |||
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..03f94b8 --- /dev/null +++ b/PKGBUILD | |||
@@ -0,0 +1,43 @@ | |||
1 | pkgname=dwm-git | ||
2 | _pkgname=dwm | ||
3 | pkgver=6.0.43.g14343e6 | ||
4 | pkgver(){ | ||
5 | cd $_pkgname | ||
6 | git describe --tags |sed 's/-/./g' | ||
7 | } | ||
8 | pkgrel=1 | ||
9 | pkgdesc="A dynamic window manager for X" | ||
10 | url="http://dwm.suckless.org" | ||
11 | arch=('i686' 'x86_64') | ||
12 | license=('MIT') | ||
13 | options=(zipman) | ||
14 | depends=('libx11' 'libxinerama') | ||
15 | makedepends=('git') | ||
16 | install=dwm.install | ||
17 | provides=('dwm') | ||
18 | conflicts=('dwm') | ||
19 | epoch=1 | ||
20 | source=(dwm.desktop | ||
21 | "$_pkgname::git+http://git.suckless.org/dwm") | ||
22 | md5sums=('939f403a71b6e85261d09fc3412269ee' | ||
23 | 'SKIP') | ||
24 | |||
25 | prepare() { | ||
26 | if [[ -f $SRCDEST/config.h ]]; then | ||
27 | cp $SRCDEST/config.h $srcdir/dwm/config.h | ||
28 | fi | ||
29 | } | ||
30 | |||
31 | build() { | ||
32 | cd $_pkgname | ||
33 | make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 | ||
34 | } | ||
35 | |||
36 | package() { | ||
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] | ||
2 | Encoding=UTF-8 | ||
3 | Name=Dwm | ||
4 | Comment=Dynamic window manager | ||
5 | Exec=dwm | ||
6 | Icon=dwm | ||
7 | Type=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 @@ | |||
1 | post_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 | } | ||