lots of stuff
This commit is contained in:
parent
32d66a7f56
commit
b859e777d0
91 changed files with 2156 additions and 532 deletions
|
@ -2,33 +2,28 @@ pkgname=sway
|
|||
pkgver=master
|
||||
|
||||
fetch() {
|
||||
curl -L "https://github.com/DCVIII/sway/archive/refs/heads/master.tar.gz" -o $pkgname-$pkgver.tar.gz
|
||||
# local wlroots isn't new enough
|
||||
curl -L "https://github.com/swaywm/wlroots/archive/refs/heads/master.tar.gz" -o wlroots-master.tar.gz
|
||||
# curl -L "https://github.com/swaywm/sway/releases/download/$pkgver/sway-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.xz
|
||||
curl -L "https://github.com/swaywm/sway/archive/refs/heads/master.tar.gz" -o $pkgname-$pkgver.tar.gz
|
||||
tar -xf $pkgname-$pkgver.tar.gz
|
||||
tar -xf wlroots-master.tar.gz
|
||||
mkdir $pkgname-$pkgver/subprojects
|
||||
mv wlroots-master $pkgname-$pkgver/subprojects/wlroots
|
||||
mkdir $pkgname-$pkgver/build
|
||||
cd $pkgname-$pkgver
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
cd build
|
||||
CFLAGS=-'Wno-unused-const-variable -Wno-unused-function -Wno-error' \
|
||||
meson .. \
|
||||
--buildtype=release \
|
||||
--prefix=/usr \
|
||||
--libexecdir=lib \
|
||||
-Dexamples=false \
|
||||
-Ddefault-wallpaper=true \
|
||||
-Dzsh-completions=true \
|
||||
-Dbash-completions=false \
|
||||
-Dfish-completions=false \
|
||||
-Dxwayland=disabled \
|
||||
-Dxcb-errors=disabled \
|
||||
-Dxcb-icccm=disbeld \
|
||||
-Dwlroots:examples=false \
|
||||
-Dwlroots:xcb-errors=disabled \
|
||||
-Dwlroots:x11-backend=disabled \
|
||||
-Dwlroots:default_library=static
|
||||
|
||||
-Dtray=disabled \
|
||||
-Dgdk-pixbuf=disabled \
|
||||
-Dman-pages=disabled
|
||||
samu
|
||||
}
|
||||
|
||||
|
@ -36,9 +31,10 @@ package() {
|
|||
cd $pkgname-$pkgver
|
||||
cd build
|
||||
DESTDIR=$pkgdir samu install
|
||||
}
|
||||
|
||||
rm -rf $pkgdir/usr/lib/
|
||||
rm -rf $pkgdir/usr/include/
|
||||
backup() {
|
||||
echo /etc/sway/config
|
||||
}
|
||||
|
||||
license() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue