summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bf6d5b47f4e76dff0a8e56f2b25d4b5fac0c7078 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Maintainer: jzbor <zborof at posteo dot de>
pkgname=moonwm
pkgver=7.2.1
_wmcname=wmcommons
_wmcver=0.1.1
pkgrel=3
pkgdesc="My own outstandingly named Window Manager (a dynamic window manager)"
arch=(x86_64 i686)
url="https://github.com/jzbor/moonwm"
_wmcurl="https://github.com/jzbor/wmcommons"
license=('MIT')
groups=()
depends=(libx11 libxcb libxinerama slop xmenu  arandr dmenu ffmpeg geoclue i3lock imagemagick libnotify light network-manager-applet notification-daemon otf-nerd-fonts-fira-code pamixer picom polkit-gnome sound-theme-freedesktop xfce4-power-manager xorg-setxkbmap xorg-xrandr xorg-xrdb xwallpaper)
makedepends=()
checkdepends=()
optdepends=( 'lxappearance: GUI for configuring GTK and icon theme'
    'matcha-gtk-theme: a fitting GTK theme (Matcha-dark-aliz)'
    'numix-circle-icon-theme: an icon theme that fits nicely'
    'redshift: night mode'
    'scrot: integrated screenshot support'
	'xfce4-notifyd: a good default notification-daemon')
# ' - this is somehow required for vim syntax hl to work
provides=(moonwm)
conflicts=(moonwm)
replaces=()
backup=()
options=()
source=("$pkgname-$pkgver.tar.gz::https://codeload.github.com/jzbor/moonwm/tar.gz/refs/tags/$pkgver"
        "$_wmcname-$_wmcver.tar.gz::https://codeload.github.com/jzbor/wmcommons/tar.gz/refs/tags/$_wmcver")
noextract=()
sha256sums=('1b29c4efbd2681bf7e44c7ef73d552a61029a157c365a17264cec566aa91a54c'
    '320957872cd06c038cbb48f4c32f9dff5aafe1db921bc4d2e4610dcd2c5b4005')
validpgpkeys=()

build() {
    cp -rv "$_wmcname-$_wmcver/src" "$pkgname-$pkgver/$_wmcname/"
    cp -rv "$_wmcname-$_wmcver/scripts" "$pkgname-$pkgver/$_wmcname/"
	cd "$pkgname-$pkgver"
    make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 FREETYPEINC=/usr/include/freetype2
}

package() {
	cd "$pkgname-$pkgver"
    make PREFIX=/usr DESTDIR="${pkgdir}" install install-scripts
    install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/moonwm/LICENSE"
    install -Dm644 README.md "${pkgdir}/usr/share/doc/moonwm/README.md"
}