summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Bidulock2015-06-10 22:07:52 -0600
committerBrian Bidulock2015-06-10 22:07:52 -0600
commit2de87972dd5a7a27a82c38262d8ce77756180961 (patch)
treeb737c507721d004ac5a3ecfb80da72aa97447b2f
downloadaur-2de87972dd5a7a27a82c38262d8ce77756180961.tar.gz
initial version
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD44
-rw-r--r--vtwm.desktop7
3 files changed, 72 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3140a671018
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = vtwm
+ pkgdesc = A lightweight, customizable window manager with a virtual desktop
+ pkgver = 5.4.7
+ pkgrel = 6
+ url = http://www.vtwm.org
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = imake
+ depends = libxpm
+ depends = libxmu
+ depends = flex
+ depends = rplay
+ backup = usr/share/X11/vtwm/system.vtwmrc
+ source = http://www.vtwm.org/downloads/vtwm-5.4.7.tar.gz
+ source = vtwm.desktop
+ md5sums = 707f8d93b19b46fb3d036053be66288b
+ md5sums = 7b4fcabdd4cf2b3a03683c37cb0fa82b
+
+pkgname = vtwm
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e21883bdc2f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer: Brian Bidulock <bidulock@openss7.org>
+# Contributor: David Scholl <djscholl@gmail.com>
+
+pkgname=vtwm
+pkgver=5.4.7
+pkgrel=6
+pkgdesc="A lightweight, customizable window manager with a virtual desktop"
+arch=('i686' 'x86_64')
+url="http://www.vtwm.org"
+license=('MIT')
+depends=('libxpm' 'libxmu' 'flex' 'rplay')
+makedepends=('imake')
+backup=('usr/share/X11/vtwm/system.vtwmrc')
+source=("http://www.vtwm.org/downloads/${pkgname}-${pkgver}.tar.gz"
+ "vtwm.desktop")
+md5sums=('707f8d93b19b46fb3d036053be66288b'
+ '7b4fcabdd4cf2b3a03683c37cb0fa82b')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ (
+ head -n 26 add_window.c
+ head -n 20 applets.c
+ head -n 18 desktop.c
+ head -n 22 sound.c
+ cat contrib/nexpm/xpm.COPYRIGHT
+
+ ) >COPYRIGHT
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ xmkmf
+ make CFLAGS="$CFLAGS" \
+ LDOPTIONS="$LDFLAGS" \
+ VTWMLIBDIR=/usr/share/X11/vtwm
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make VTWMLIBDIR=/usr/share/X11/vtwm DESTDIR="${pkgdir}" install
+ install -Dm0644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT"
+ install -Dm0644 ../vtwm.desktop "${pkgdir}/usr/share/xsessions/vtwm.desktop"
+}
diff --git a/vtwm.desktop b/vtwm.desktop
new file mode 100644
index 00000000000..5c7a566c69d
--- /dev/null
+++ b/vtwm.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Encoding=UTF-8
+Type=XSession
+Exec=vtwm
+Icon=vtwm
+Name=VTWM
+Comment=Virtual Tab Window Manager