diff options
author | Brian Bidulock | 2015-06-10 22:35:23 -0600 |
---|---|---|
committer | Brian Bidulock | 2015-06-10 22:35:23 -0600 |
commit | 88192fc5f41649777dda0880d4c20ff80e1e15cc (patch) | |
tree | 5d2678bd94f15fbf5203d452d2259ca30f8f1017 | |
download | aur-88192fc5f41649777dda0880d4c20ff80e1e15cc.tar.gz |
initial version
-rw-r--r-- | .SRCINFO | 28 | ||||
-rw-r--r-- | PKGBUILD | 58 | ||||
-rw-r--r-- | wmaker.desktop | 5 |
3 files changed, 91 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..352d344717ee --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,28 @@ +pkgbase = windowmaker-git + pkgdesc = An X11 window manager with a NEXTSTEP look and feel + pkgver = 0.95.6.r304.gb295a20 + pkgrel = 1 + url = http://www.windowmaker.org/ + arch = i686 + arch = x86_64 + license = GPL + license = custom + makedepends = git + depends = imagemagick + depends = libxinerama + depends = libxrandr + depends = libxmu + depends = libbsd + depends = libxpm + depends = libxft + depends = libwebp + depends = libexif + provides = windowmaker + conflicts = windowmaker + source = windowmaker-git::git://repo.or.cz/wmaker-crm.git + source = wmaker.desktop + md5sums = SKIP + md5sums = 2fba97bebfd691836b92b8f0db79ff13 + +pkgname = windowmaker-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f8a37a3e8e6a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,58 @@ +# $Id: PKGBUILD 215171 2014-06-14 19:17:25Z andyrtr $ +# Maintainer: Brian Bidulock <bidulock@openss7.org> +# Contributor: Daniel Isenmann <daniel@archlinux.org> +# Contributor: Judd Vinet <jvinet@zeroflux.org> + +pkgname=windowmaker-git +pkgver=0.95.6.r304.gb295a20 +pkgrel=1 +pkgdesc="An X11 window manager with a NEXTSTEP look and feel" +arch=('i686' 'x86_64') +url="http://www.windowmaker.org/" +license=('GPL' 'custom') +provides=('windowmaker') +conflicts=('windowmaker') +makedepends=('git') +depends=('imagemagick' 'libxinerama' 'libxrandr' 'libxmu' 'libbsd' 'libxpm' 'libxft' 'libwebp' 'libexif') +source=("$pkgname::git://repo.or.cz/wmaker-crm.git" + wmaker.desktop) +md5sums=('SKIP' + '2fba97bebfd691836b92b8f0db79ff13') + +pkgver() { + cd $pkgname + git describe --long | sed -r 's/wmaker.//;s/([^-]*-g)/r\1/;s/-/./g' +} + +prepare() { + cd $pkgname + + autoreconf -fi + + # fix some paths FS#3080 - ckeck also Gentoo ebuild + for file in WindowMaker/*menu* util/wmgenmenu.c; do + if [[ -r $file ]] ; then + sed -i -e "s:/usr/local/GNUstep/Applications/WPrefs.app:/usr/lib/GNUstep/Applications/WPrefs.app:g;" "$file" + sed -i -e "s:/usr/local/share/WindowMaker:/usr/share/WindowMaker:g;" "$file" + sed -i -e "s:/opt/share/WindowMaker:/usr/share/WindowMaker:g;" "$file" + fi; + done; +} + +build() { + cd $pkgname + [ -z "$LINGUAS" ] && export LINGUAS="`ls po/*.po | sed 's:po/\(.*\)\.po$:\1:'|tr '\n' ' '`" + ./configure --prefix=/usr --sysconfdir=/etc --enable-xinerama \ + --localedir=/usr/share/locale --with-gnustepdir=/usr/lib/GNUstep \ + --enable-usermenu --enable-modelock + make V=0 +} + +package() { + cd $pkgname + + make DESTDIR="$pkgdir" install + install -D -m644 COPYING.WTFPL "$pkgdir/usr/share/licenses/$pkgname/COPYING.WTFPL" + install -D -m644 ../wmaker.desktop "$pkgdir/usr/share/xsessions/wmaker.desktop" +} + diff --git a/wmaker.desktop b/wmaker.desktop new file mode 100644 index 000000000000..f819c757731b --- /dev/null +++ b/wmaker.desktop @@ -0,0 +1,5 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=windowmaker +Exec=/usr/bin/wmaker +Type=Application |