add echinus wm

This commit is contained in:
joborun linux 2024-01-12 19:47:37 +02:00
parent faaad360fa
commit 05ec736fe9
6 changed files with 114 additions and 0 deletions

55
echinus/PKGBUILD Normal file
View File

@ -0,0 +1,55 @@
#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcomm/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=echinus
pkgver=0.4.9
pkgrel=02
pkgdesc="A window manager for X in the spirit of dwm"
url="http://plhk.ru/echinus"
depends=('libxft' 'libxrandr')
optdepends=('ourico: complementary taskbar for echinus')
install="$pkgname.install"
source=("http://plhk.ru/static/$pkgname/$pkgname-$pkgver.tar.gz")
build() {
cd "$srcdir/$pkgname-$pkgver"
# fix rc file path in man file
sed -i "s/\${DESTDIR}\(\${CONF}\)/\1/" Makefile
make PREFIX=/usr \
CONFPREFIX=/etc/xdg \
CONF=/etc/xdg/$pkgname
}
package () {
cd "$srcdir/$pkgname-$pkgver"
make PREFIX=/usr \
CONFPREFIX=/etc/xdg \
CONF="/etc/xdg/$pkgname" \
DESTDIR="$pkgdir" install
# set world readable bit
chmod 644 "$pkgdir/etc/xdg/$pkgname/"*
# license
install -Dm644 LICENSE \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('custom:MIT')
md5sums=('8e17f3973060121847050b74a1bf000d')
sha256sums=(c57ac8f72845bea02bed0c27256b4023668ae7b41ae3c461d6e9b63e24914d94) # echinus-0.4.9.tar.gz
## 95827c2e73926ef722361890895b31bb2a1edf33fb43b7db92446ac3ed553b63 echinus-0.4.9-02-x86_64.pkg.tar.lz

42
echinus/PKGBUILD-aur Normal file
View File

@ -0,0 +1,42 @@
# Maintainer : SpepS <dreamspepser at yahoo dot it>
# Contributor: TDY <tdy@gmx.com>
pkgname=echinus
pkgver=0.4.9
pkgrel=1
pkgdesc="A window manager for X in the spirit of dwm"
arch=('i686' 'x86_64')
url="http://plhk.ru/echinus"
license=('custom:MIT')
depends=('libxft' 'libxrandr')
optdepends=('ourico: complementary taskbar for echinus')
install="$pkgname.install"
source=("http://plhk.ru/static/$pkgname/$pkgname-$pkgver.tar.gz")
md5sums=('8e17f3973060121847050b74a1bf000d')
build() {
cd "$srcdir/$pkgname-$pkgver"
# fix rc file path in man file
sed -i "s/\${DESTDIR}\(\${CONF}\)/\1/" Makefile
make PREFIX=/usr \
CONFPREFIX=/etc/xdg \
CONF=/etc/xdg/$pkgname
}
package () {
cd "$srcdir/$pkgname-$pkgver"
make PREFIX=/usr \
CONFPREFIX=/etc/xdg \
CONF="/etc/xdg/$pkgname" \
DESTDIR="$pkgdir" install
# set world readable bit
chmod 644 "$pkgdir/etc/xdg/$pkgname/"*
# license
install -Dm644 LICENSE \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

1
echinus/clean Normal file
View File

@ -0,0 +1 @@
rm -rf {src,pkg,echinus*tar.gz}

3
echinus/deps Normal file
View File

@ -0,0 +1,3 @@
libxft
libxrandr

7
echinus/echinus.install Normal file
View File

@ -0,0 +1,7 @@
post_install() {
echo "+++ Copy all files from /etc/xdg/echinus to ~/.echinus"
}
post_upgrade() {
post_install $1
}

6
echinus/time Normal file
View File

@ -0,0 +1,6 @@
real 0m5.104s
user 0m3.823s
sys 0m0.572s