2017-11-20 15:36:30 +00:00
|
|
|
# $Id$
|
2020-12-01 09:52:26 +00:00
|
|
|
# Maintainer: Ryan Kes <ryan@ryankes.eu>
|
2017-11-20 15:36:30 +00:00
|
|
|
|
2019-06-18 09:30:24 +00:00
|
|
|
pkgname=higherlearning-dwm
|
2019-02-06 10:25:47 +00:00
|
|
|
pkgver=6.2
|
2019-02-17 17:59:28 +00:00
|
|
|
pkgrel=1
|
2017-11-20 15:36:30 +00:00
|
|
|
pkgdesc="A dynamic window manager for X"
|
|
|
|
url="http://dwm.suckless.org"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
license=('MIT')
|
|
|
|
options=(zipman)
|
2020-12-01 09:58:29 +00:00
|
|
|
depends=('libx11' 'libxinerama' 'libxft' 'freetype2' 'dmenu' 'ttf-jetbrains-mono' 'ttf-joypixels')
|
2019-06-18 09:30:24 +00:00
|
|
|
optdepends=('gllock-git' 'higherlearning-st')
|
2019-06-18 09:33:25 +00:00
|
|
|
conflicts=('dwm')
|
2017-11-20 15:36:30 +00:00
|
|
|
install=dwm.install
|
2019-02-04 15:58:11 +00:00
|
|
|
|
2019-02-14 15:56:39 +00:00
|
|
|
_patches=(
|
2020-12-01 09:52:26 +00:00
|
|
|
"dwm-noborder-6.2.diff"
|
2020-12-02 20:06:10 +00:00
|
|
|
"dwm-autostart-20200610-cb3f58a.diff"
|
2019-03-13 14:36:50 +00:00
|
|
|
"dwm-cyclelayouts-20180524-6.2.diff"
|
2020-12-01 09:52:26 +00:00
|
|
|
"local-gridmode-20170909-ceac8c9.diff"
|
|
|
|
"local-r1615-selfrestart.diff"
|
|
|
|
"dwm-hide_vacant_tags-6.2.diff"
|
|
|
|
"local-scratchpad-6.2.diff"
|
2020-12-01 10:04:57 +00:00
|
|
|
"dwm-rotatestack-20161021-ab9571b.diff"
|
2020-12-02 20:06:10 +00:00
|
|
|
"dwm-statuspadding-20150524-c8e9479.diff"
|
2020-12-01 10:28:24 +00:00
|
|
|
"local-uselessgap-6.2.diff"
|
2020-12-02 20:06:10 +00:00
|
|
|
"local-allow-color-fonts.diff"
|
2020-12-02 20:10:20 +00:00
|
|
|
"dwm-alpha-20201019-61bb8b2.diff"
|
2020-12-03 08:56:51 +00:00
|
|
|
"dwm-statuscmd-signal-6.2.diff"
|
2020-12-03 10:25:27 +00:00
|
|
|
"local-xrdb-6.2.diff"
|
2020-12-03 10:33:28 +00:00
|
|
|
"local-sticky-20160911-ab9571b.diff"
|
2020-12-03 11:09:42 +00:00
|
|
|
"local-swallow-20200807-b2de9b0.diff"
|
2019-02-14 15:56:39 +00:00
|
|
|
)
|
2019-02-04 15:58:11 +00:00
|
|
|
|
2017-11-20 15:36:30 +00:00
|
|
|
source=(http://dl.suckless.org/dwm/dwm-$pkgver.tar.gz
|
2019-03-13 08:49:55 +00:00
|
|
|
config.h
|
|
|
|
dwm.desktop
|
|
|
|
"${_patches[@]}")
|
2019-02-04 15:58:11 +00:00
|
|
|
|
2019-02-06 10:25:47 +00:00
|
|
|
md5sums=('9929845ccdec4d2cc191f16210dd7f3d'
|
2020-12-01 09:58:29 +00:00
|
|
|
'418abafd90ec84255144dcea538a53fb'
|
2019-02-04 15:58:11 +00:00
|
|
|
'939f403a71b6e85261d09fc3412269ee'
|
2020-12-01 09:52:26 +00:00
|
|
|
'453062a348098b240e55f40623f14ed0'
|
2020-12-02 20:06:10 +00:00
|
|
|
'64cc9cc8df63451b660a76c31ca67a34'
|
2019-02-18 14:08:47 +00:00
|
|
|
'5baffd8c124095d06b133e9b31a854b2'
|
2020-12-02 20:06:10 +00:00
|
|
|
'272fdc4d250d3c30750dbe56bb7e9fa5'
|
2020-12-01 09:52:26 +00:00
|
|
|
'8c3ad89cb98dd2b9152075b6e29cb579'
|
|
|
|
'c446b71a8b8cce25db86a47805500dfa'
|
2020-12-01 10:20:51 +00:00
|
|
|
'595df893d829b2994bb799d12a1c9545'
|
|
|
|
'882e0783ccedf9fbb8b565e7681116c9'
|
2020-12-02 20:06:10 +00:00
|
|
|
'd1f932d25d82eb9aaa589a54d9b4e6c8'
|
|
|
|
'b9c840237160440110fdafc204eff208'
|
2020-12-02 20:10:20 +00:00
|
|
|
'cdf4c9dacfecd8f3aecb5fc8166c4604'
|
2020-12-03 08:56:51 +00:00
|
|
|
'7799f60a9e87e4f99e813d158abee15b'
|
2020-12-03 10:25:27 +00:00
|
|
|
'6343099cdc9752bc3f4f87e119345b79'
|
2020-12-03 10:33:28 +00:00
|
|
|
'3ebe2a57a05e963764c2083916a02677'
|
2020-12-03 11:09:42 +00:00
|
|
|
'1494ebf7135e01101542daa59b7b28ab'
|
|
|
|
'96e122c7e880177259cf5dbda7e646cb')
|
2017-11-20 15:36:30 +00:00
|
|
|
|
|
|
|
prepare() {
|
2019-06-18 09:30:24 +00:00
|
|
|
cd $srcdir/dwm-$pkgver
|
2020-12-01 09:52:26 +00:00
|
|
|
#sed -i "25 a \ \t{ NULL, NULL }," "$srcdir/$(basename ${_patches[4]})"
|
2019-02-18 14:08:47 +00:00
|
|
|
|
2019-02-04 15:58:11 +00:00
|
|
|
for patch in "${_patches[@]}"; do
|
|
|
|
echo "Applying patch $(basename $patch)..."
|
|
|
|
patch -Np1 -i "$srcdir/$(basename $patch)"
|
|
|
|
done
|
|
|
|
|
2017-11-20 15:36:30 +00:00
|
|
|
cp $srcdir/config.h config.h
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2019-06-18 09:30:24 +00:00
|
|
|
cd $srcdir/dwm-$pkgver
|
2017-11-20 15:36:30 +00:00
|
|
|
make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 FREETYPEINC=/usr/include/freetype2
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2019-06-18 09:30:24 +00:00
|
|
|
cd $srcdir/dwm-$pkgver
|
2017-11-20 15:36:30 +00:00
|
|
|
make PREFIX=/usr DESTDIR=$pkgdir install
|
2019-06-18 09:30:24 +00:00
|
|
|
install -m644 -D LICENSE $pkgdir/usr/share/licenses/dwm/LICENSE
|
|
|
|
install -m644 -D README $pkgdir/usr/share/doc/dwm/README
|
2017-11-20 15:36:30 +00:00
|
|
|
install -m644 -D $srcdir/dwm.desktop $pkgdir/usr/share/xsessions/dwm.desktop
|
|
|
|
}
|