summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Bidulock2018-10-31 03:32:59 -0600
committerBrian Bidulock2018-10-31 03:32:59 -0600
commite96d7222220d256e4bc230161ba1d9f5e024e46f (patch)
treeceaa6e43cf41ccf0696ce211580391eafcc57066
parentf8e7f3eb07e6f180bacb68edc59810d000962101 (diff)
downloadaur-vtwm.tar.gz
uppkg
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD25
2 files changed, 25 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3140a671018..f285d78fc83 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = vtwm
pkgdesc = A lightweight, customizable window manager with a virtual desktop
- pkgver = 5.4.7
- pkgrel = 6
+ pkgver = 5.5.0
+ pkgrel = 1
url = http://www.vtwm.org
arch = i686
arch = x86_64
@@ -9,12 +9,17 @@ pkgbase = vtwm
makedepends = imake
depends = libxpm
depends = libxmu
- depends = flex
+ depends = libxft
+ depends = libxinerama
+ depends = libxrandr
+ depends = esound
depends = rplay
+ optdepends = m4: for config file preprocessing
+ options = !makeflags
backup = usr/share/X11/vtwm/system.vtwmrc
- source = http://www.vtwm.org/downloads/vtwm-5.4.7.tar.gz
+ source = http://sourceforge.net/projects/vtwm/files/vtwm-5.5.0.tar.gz
source = vtwm.desktop
- md5sums = 707f8d93b19b46fb3d036053be66288b
+ md5sums = 703cfddc08012230bbe4edb1edd1f141
md5sums = 7b4fcabdd4cf2b3a03683c37cb0fa82b
pkgname = vtwm
diff --git a/PKGBUILD b/PKGBUILD
index e21883bdc2f..365eb5643b1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,22 +2,26 @@
# Contributor: David Scholl <djscholl@gmail.com>
pkgname=vtwm
-pkgver=5.4.7
-pkgrel=6
+pkgver=5.5.0
+pkgrel=1
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')
+depends=('libxpm' 'libxmu' 'libxft' 'libxinerama' 'libxrandr' 'esound' 'rplay')
+optdepends=('m4: for config file preprocessing')
makedepends=('imake')
backup=('usr/share/X11/vtwm/system.vtwmrc')
-source=("http://www.vtwm.org/downloads/${pkgname}-${pkgver}.tar.gz"
+options=('!makeflags')
+source=("http://sourceforge.net/projects/vtwm/files/${pkgname}-${pkgver}.tar.gz"
"vtwm.desktop")
-md5sums=('707f8d93b19b46fb3d036053be66288b'
+md5sums=('703cfddc08012230bbe4edb1edd1f141'
'7b4fcabdd4cf2b3a03683c37cb0fa82b')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -e "/^AC_INIT/s|^.*$|AC_INIT([vtwm],[$pkgver], [mailto:vtwm-hackers@lists.sandelman.ca],[vtwm])|" \
+ -i configure.ac
(
head -n 26 add_window.c
head -n 20 applets.c
@@ -30,15 +34,16 @@ prepare() {
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- xmkmf
- make CFLAGS="$CFLAGS" \
- LDOPTIONS="$LDFLAGS" \
- VTWMLIBDIR=/usr/share/X11/vtwm
+ aclocal
+ automake --foreign --add-missing
+ autoconf
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make V=0
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
- make VTWMLIBDIR=/usr/share/X11/vtwm DESTDIR="${pkgdir}" install
+ make DESTDIR="$pkgdir" install
install -Dm0644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT"
install -Dm0644 ../vtwm.desktop "${pkgdir}/usr/share/xsessions/vtwm.desktop"
}