This commit is contained in:
joborun linux 2022-10-27 20:04:02 +03:00
parent dbebb1951e
commit 482efe1c1a
2 changed files with 16 additions and 17 deletions

View File

@ -1,16 +1,17 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=jwm
pkgver=2.4.2
pkgrel=02
pkgver=2.4.3
pkgrel=01
pkgdesc="A lightweight window manager for the X11 Window System"
arch=(x86_64)
url="https://github.com/joewing/jwm"
#url="http://joewing.net/projects/jwm"
#url="https://joewing.net/projects/jwm"
#$pkgname::git+https://github.com/joewing/jwm.git
groups=(joborun-pkg-x11)
provides=('jwm')
@ -50,10 +51,8 @@ package() {
license=('MIT')
sha256sums=(4e07a21774e9defcdddb3ffaa3e18dfe113dfe168fe0428c5e0da987c95e26e5 # jwm-2.4.2.tar.xz
#f3cc6452d8851d1abd374823ada9bbaa6999cbeadeb6dfedd5f9a116659aa233 # jwm-2.4.1.tar.xz
#1449754f693bdfabbe6318803120722cc65197a73d6bf38120090aee18b16040 # jwm-2.4.0.tar.xz
#745d2f5df3a4ce9ecc8e75445edb3fbe31dd46c0c26d129cc14de7ad8b665326 # jwm-2.3.7.tar.xz
# 538186f3b42cc53e2cd9a18fa4ba523cb5e892b6c6fa75e38fb59da725de488c # resize_windows_whatever_the_corner.patch
sha256sums=(ee3b4ee0c452ef31fcb9303ab50aaf496cf5bdf7b5f1fdc9a1251b7175ca67ab # jwm-2.4.3.tar.xz
489327c12bb44c6802144f972411dab7a44a61920c07028fa3d81cfd0ba9fd30) # jwm.desktop

View File

@ -2,11 +2,11 @@
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=jwm
pkgver=2.4.2
pkgrel=2
pkgver=2.4.3
pkgrel=1
pkgdesc="A lightweight window manager for the X11 Window System"
arch=('x86_64')
url="http://joewing.net/projects/jwm/"
url="https://joewing.net/projects/jwm/"
license=('MIT')
depends=('libx11' 'libxft' 'libjpeg-turbo' 'libxpm' 'libxinerama' 'libpng' 'cairo' 'librsvg')
backup=('etc/system.jwmrc')
@ -14,26 +14,26 @@ source=("https://github.com/joewing/jwm/releases/download/v$pkgver/jwm-$pkgver.t
jwm.desktop)
# contacted upstream about desktop
# no reply
sha512sums=('2669c3e2ab2d9a5539d02559108a2bc601bb2209de03dc15057a65c14b5e1268cc58009f4102c4d90302c0705ada5578997a3644c736a46a7e8cf13766cc92fe'
sha512sums=('35b8a6da9614f11881013aa77c36ee88ce9a213f056e797231b772132beb841d54094809b6a476383999bddeccf61451f72cd166309dd79c223b634cf5d1e69e'
'1014988cc17a439ad3ae36a1e137ad8c9c46b2afbe6966c68ecc3258a0320fbad96c562fb39bdc41db624ebddaa45617938b621b489f3a740bda11a40f4f7718')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
cd "$pkgname-$pkgver"
sed -i 's|/usr/local/share/|/usr/share/|' contrib/Makefile po/Makefile* example.jwmrc
# locales were broken in 2.4.0
sed -i 's|mkdir_p = @mkdir_p@|mkdir_p = /usr/bin/mkdir -p --|' po/Makefile*
}
build() {
cd "$srcdir/$pkgname-$pkgver"
cd "$pkgname-$pkgver"
./configure --prefix=/usr --sysconfdir=/etc --disable-fribidi
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
cd "$pkgname-$pkgver"
make BINDIR="$pkgdir/usr/bin" MANDIR="$pkgdir/usr/share/man" \
DESTDIR="$pkgdir" SYSCONF="$pkgdir/etc" install
install -Dm644 "$srcdir/jwm.desktop" "$pkgdir/usr/share/xsessions/jwm.desktop"
install -Dm644 "../jwm.desktop" "$pkgdir/usr/share/xsessions/jwm.desktop"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}