summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/spectrwm/PKGBUILD19
1 files changed, 12 insertions, 7 deletions
diff --git a/libre/spectrwm/PKGBUILD b/libre/spectrwm/PKGBUILD
index cf8d68d67..2d199150b 100644
--- a/libre/spectrwm/PKGBUILD
+++ b/libre/spectrwm/PKGBUILD
@@ -1,12 +1,13 @@
-# $Id: PKGBUILD 134203 2015-05-26 22:48:38Z kkeen $
+# $Id: PKGBUILD 174403 2016-05-09 03:53:49Z kkeen $
# Maintainer (Arch): Kyle Keen <keenerd@gmail.com>
# Contributor (Arch): Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
pkgname=spectrwm
-pkgver=2.7.2
+pkgver=3.0.1
+_ghver=3_0_1
pkgrel=1.parabola1
pkgdesc="A minimalistic automatic tiling window manager that tries to stay out of the way, without nonfree profont support"
-arch=('i686' 'x86_64' 'mips64el')
+arch=('i686' 'x86_64')
url="http://www.spectrwm.org"
_watch="https://opensource.conformal.com/snapshots/spectrwm/"
license=('custom:ISC')
@@ -19,17 +20,19 @@ optdepends=('scrot: screenshots'
'terminus-font: great font')
backup=(etc/spectrwm.conf)
-source=(http://opensource.conformal.com/snapshots/$pkgname/$pkgname-$pkgver.tgz \
+#source=(http://opensource.conformal.com/snapshots/$pkgname/$pkgname-$pkgver.tgz \
+source=("https://github.com/conformal/spectrwm/archive/SPECTRWM_${_ghver}.tar.gz" \
LICENSE \
baraction.sh \
spectrwm-no-preload)
-md5sums=('4eb5cf576d8e70555bd199e4bb96b479'
+md5sums=('4df6713ad2bea95431e07317573baf0f'
'a67cfe51079481e5b0eab1ad371379e3'
'950d663692e1da56e0ac864c6c3ed80e'
'974d109ce0af39cc73936d5efd682480')
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ #cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname-SPECTRWM_$_ghver"
sed -i 's|\"/usr/local/lib/libswmhack.so\"|\"libswmhack.so\"|' spectrwm.c
sed -i 's/verbose_layout = false;/verbose_layout = true;/' spectrwm.c
@@ -46,7 +49,9 @@ build() {
}
package() {
- cd "$srcdir/$pkgname-$pkgver/linux"
+ #cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname-SPECTRWM_$_ghver"
+ cd linux
make PREFIX="/usr" DESTDIR="$pkgdir" install
install -Dm644 spectrwm.desktop "$pkgdir/usr/share/xsessions/spectrwm.desktop"
cd ..