Update repository: include full packages, recipes, and fixed installer with ldlinux.c32
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
# Receptura pakietu dla wpkg
|
||||
|
||||
pkgname=dejavu-fonts
|
||||
pkgver=2.37
|
||||
pkgrel=1
|
||||
pkgdesc="Czcionki DejaVu"
|
||||
arch=x86_64
|
||||
url="https://dejavu-fonts.github.io/"
|
||||
depends=()
|
||||
source="https://github.com/dejavu-fonts/dejavu-fonts/releases/download/version_${pkgver//./_}/dejavu-fonts-ttf-${pkgver}.tar.bz2"
|
||||
sha256sum="SKIP"
|
||||
|
||||
build() {
|
||||
# Brak kompilacji, tylko kopiowanie
|
||||
true
|
||||
}
|
||||
|
||||
package() {
|
||||
mkdir -p "${PKGDIR}/usr/share/fonts/dejavu"
|
||||
cp dejavu-fonts-ttf-${pkgver}/ttf/*.ttf "${PKGDIR}/usr/share/fonts/dejavu/"
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
# Receptura pakietu dla wpkg
|
||||
|
||||
pkgname=dmenu
|
||||
pkgver=5.3
|
||||
pkgrel=1
|
||||
pkgdesc="Launcher aplikacji (suckless)"
|
||||
arch=x86_64
|
||||
url="https://tools.suckless.org/dmenu/"
|
||||
depends=(libx11 libxft)
|
||||
source="https://dl.suckless.org/tools/dmenu-${pkgver}.tar.gz"
|
||||
sha256sum="SKIP"
|
||||
|
||||
build() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
sed -i 's/^CC = cc/CC = musl-gcc/' config.mk
|
||||
make -j$(nproc)
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
make DESTDIR="${PKGDIR}" PREFIX=/usr install
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
# Receptura pakietu dla wpkg
|
||||
|
||||
pkgname=dwm
|
||||
pkgver=6.5
|
||||
pkgrel=1
|
||||
pkgdesc="Dynamiczny menedzer okien (suckless)"
|
||||
arch=x86_64
|
||||
url="https://dwm.suckless.org/"
|
||||
depends=(libx11 libxft)
|
||||
source="https://dl.suckless.org/dwm/dwm-${pkgver}.tar.gz"
|
||||
sha256sum="SKIP"
|
||||
|
||||
build() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
sed -i 's/^CC = cc/CC = musl-gcc/' config.mk
|
||||
make -j$(nproc)
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
make DESTDIR="${PKGDIR}" PREFIX=/usr install
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
# Receptura pakietu dla wpkg
|
||||
|
||||
pkgname=feh
|
||||
pkgver=3.10.3
|
||||
pkgrel=1
|
||||
pkgdesc="Przegladarka obrazow / menedzer tapety"
|
||||
arch=x86_64
|
||||
url="https://feh.finalrewind.org/"
|
||||
depends=(libx11 imlib2)
|
||||
source="https://feh.finalrewind.org/feh-${pkgver}.tar.bz2"
|
||||
sha256sum="SKIP"
|
||||
|
||||
build() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
sed -i 's/^CC ?= gcc/CC = musl-gcc/' config.mk
|
||||
make -j$(nproc) PREFIX=/usr
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
make DESTDIR="${PKGDIR}" PREFIX=/usr install
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
# Receptura pakietu dla wpkg
|
||||
|
||||
pkgname=fontconfig
|
||||
pkgver=2.15.0
|
||||
pkgrel=1
|
||||
pkgdesc="Konfiguracja czcionek"
|
||||
arch=x86_64
|
||||
url="https://www.freedesktop.org/wiki/Software/fontconfig/"
|
||||
depends=(freetype)
|
||||
source="https://www.freedesktop.org/software/fontconfig/release/fontconfig-${pkgver}.tar.xz"
|
||||
sha256sum="SKIP"
|
||||
|
||||
build() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
./configure --prefix=/usr CC=musl-gcc
|
||||
make -j$(nproc)
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
make DESTDIR="${PKGDIR}" install
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
# Receptura pakietu dla wpkg
|
||||
|
||||
pkgname=freetype
|
||||
pkgver=2.13.2
|
||||
pkgrel=1
|
||||
pkgdesc="Biblioteka renderowania czcionek"
|
||||
arch=x86_64
|
||||
url="https://freetype.org/"
|
||||
depends=()
|
||||
source="https://download.savannah.gnu.org/releases/freetype/freetype-${pkgver}.tar.xz"
|
||||
sha256sum="SKIP"
|
||||
|
||||
build() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
./configure --prefix=/usr CC=musl-gcc --with-zlib --without-harfbuzz
|
||||
make -j$(nproc)
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
make DESTDIR="${PKGDIR}" install
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
# Receptura pakietu dla wpkg
|
||||
|
||||
pkgname=libdrm
|
||||
pkgver=2.4.120
|
||||
pkgrel=1
|
||||
pkgdesc="Biblioteka Direct Rendering Manager"
|
||||
arch=x86_64
|
||||
url="https://dri.freedesktop.org/"
|
||||
depends=()
|
||||
source="https://dri.freedesktop.org/libdrm/libdrm-${pkgver}.tar.xz"
|
||||
sha256sum="SKIP"
|
||||
|
||||
build() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
export CC=musl-gcc
|
||||
meson setup build --prefix=/usr
|
||||
ninja -C build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
DESTDIR="${PKGDIR}" ninja -C build install
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
# Receptura pakietu dla wpkg
|
||||
|
||||
pkgname=libx11
|
||||
pkgver=1.8.9
|
||||
pkgrel=1
|
||||
pkgdesc="Biblioteka X11"
|
||||
arch=x86_64
|
||||
url="https://xorg.freedesktop.org/"
|
||||
depends=(xorgproto xtrans libxcb)
|
||||
source="https://www.x.org/releases/individual/lib/libX11-${pkgver}.tar.xz"
|
||||
sha256sum="SKIP"
|
||||
|
||||
build() {
|
||||
cd "libX11-${pkgver}"
|
||||
./configure --prefix=/usr CC=musl-gcc
|
||||
make -j$(nproc)
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "libX11-${pkgver}"
|
||||
make DESTDIR="${PKGDIR}" install
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
# Receptura pakietu dla wpkg
|
||||
|
||||
pkgname=libxft
|
||||
pkgver=2.3.8
|
||||
pkgrel=1
|
||||
pkgdesc="Renderowanie czcionek X11"
|
||||
arch=x86_64
|
||||
url="https://xorg.freedesktop.org/"
|
||||
depends=(libx11 freetype fontconfig)
|
||||
source="https://www.x.org/releases/individual/lib/libXft-${pkgver}.tar.xz"
|
||||
sha256sum="SKIP"
|
||||
|
||||
build() {
|
||||
cd "libXft-${pkgver}"
|
||||
./configure --prefix=/usr CC=musl-gcc
|
||||
make -j$(nproc)
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "libXft-${pkgver}"
|
||||
make DESTDIR="${PKGDIR}" install
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
#!/bin/bash
|
||||
# Receptura pakietu dla wpkg
|
||||
|
||||
pkgname=mesa
|
||||
pkgver=24.0.5
|
||||
pkgrel=1
|
||||
pkgdesc="Biblioteka grafiki 3D (OpenGL)"
|
||||
arch=x86_64
|
||||
url="https://www.mesa3d.org/"
|
||||
depends=(libdrm)
|
||||
source="https://archive.mesa3d.org/mesa-${pkgver}.tar.xz"
|
||||
sha256sum="SKIP"
|
||||
|
||||
build() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
export CC=musl-gcc
|
||||
export CXX=musl-g++
|
||||
meson setup build --prefix=/usr \
|
||||
-Dgallium-drivers=swrast \
|
||||
-Dvulkan-drivers='' \
|
||||
-Dglx=disabled \
|
||||
-Degl=enabled \
|
||||
-Dplatforms='' \
|
||||
-Dopengl=true
|
||||
ninja -C build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
DESTDIR="${PKGDIR}" ninja -C build install
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
# Receptura pakietu dla wpkg
|
||||
|
||||
pkgname=micro
|
||||
pkgver=2.0.14
|
||||
pkgrel=1
|
||||
pkgdesc="Nowoczesny edytor tekstu"
|
||||
arch=x86_64
|
||||
url="https://micro-editor.github.io/"
|
||||
depends=()
|
||||
source="https://github.com/zyedidia/micro/releases/download/v${pkgver}/micro-${pkgver}-linux64-static.tar.gz"
|
||||
sha256sum="SKIP"
|
||||
|
||||
build() {
|
||||
# Micro dostarcza prekompilowane binarki
|
||||
true
|
||||
}
|
||||
|
||||
package() {
|
||||
mkdir -p "${PKGDIR}/usr/bin"
|
||||
cp "micro-${pkgver}/micro" "${PKGDIR}/usr/bin/"
|
||||
chmod +x "${PKGDIR}/usr/bin/micro"
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
# Receptura pakietu dla wpkg
|
||||
|
||||
pkgname=nano
|
||||
pkgver=8.1
|
||||
pkgrel=1
|
||||
pkgdesc="Prosty edytor tekstu"
|
||||
arch=x86_64
|
||||
url="https://nano-editor.org"
|
||||
depends=()
|
||||
source="https://www.nano-editor.org/dist/v8/nano-${pkgver}.tar.xz"
|
||||
sha256sum="SKIP"
|
||||
|
||||
build() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
./configure --prefix=/usr --disable-nls --enable-utf8 CC=musl-gcc
|
||||
make -j$(nproc)
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
make DESTDIR="${PKGDIR}" install
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
# Receptura pakietu dla wpkg
|
||||
|
||||
pkgname=pixman
|
||||
pkgver=0.43.4
|
||||
pkgrel=1
|
||||
pkgdesc="Biblioteka operacji na pikselach"
|
||||
arch=x86_64
|
||||
url="https://cairographics.org/"
|
||||
depends=()
|
||||
source="https://cairographics.org/releases/pixman-${pkgver}.tar.gz"
|
||||
sha256sum="SKIP"
|
||||
|
||||
build() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
./configure --prefix=/usr CC=musl-gcc
|
||||
make -j$(nproc)
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
make DESTDIR="${PKGDIR}" install
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
# Receptura pakietu dla wpkg
|
||||
|
||||
pkgname=st
|
||||
pkgver=0.9.2
|
||||
pkgrel=1
|
||||
pkgdesc="Prosty terminal (suckless)"
|
||||
arch=x86_64
|
||||
url="https://st.suckless.org/"
|
||||
depends=(libx11 libxft)
|
||||
source="https://dl.suckless.org/st/st-${pkgver}.tar.gz"
|
||||
sha256sum="SKIP"
|
||||
|
||||
build() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
sed -i 's/^CC = c99/CC = musl-gcc/' config.mk
|
||||
make -j$(nproc)
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
make DESTDIR="${PKGDIR}" PREFIX=/usr install
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
# Receptura pakietu dla wpkg
|
||||
|
||||
pkgname=vis
|
||||
pkgver=0.9
|
||||
pkgrel=1
|
||||
pkgdesc="Edytor tekstu inspirowany vi/vim"
|
||||
arch=x86_64
|
||||
url="https://github.com/martanne/vis"
|
||||
depends=(ncurses)
|
||||
source="https://github.com/martanne/vis/releases/download/v${pkgver}/vis-${pkgver}.tar.gz"
|
||||
sha256sum="SKIP"
|
||||
|
||||
build() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
./configure --prefix=/usr CC=musl-gcc
|
||||
make -j$(nproc)
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
make DESTDIR="${PKGDIR}" install
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
#!/bin/bash
|
||||
# Receptura pakietu dla wpkg
|
||||
|
||||
pkgname=wlasnyos-desktop
|
||||
pkgver=1.0
|
||||
pkgrel=1
|
||||
pkgdesc="Meta-pakiet srodowiska graficznego"
|
||||
arch=x86_64
|
||||
url="https://wlasnyos.local"
|
||||
depends=(dwm st dmenu dejavu-fonts feh wlasnyos-wallpaper xorg-server)
|
||||
source=""
|
||||
sha256sum="SKIP"
|
||||
|
||||
build() {
|
||||
true
|
||||
}
|
||||
|
||||
package() {
|
||||
mkdir -p "${PKGDIR}/usr/bin"
|
||||
mkdir -p "${PKGDIR}/etc/skel"
|
||||
mkdir -p "${PKGDIR}/usr/share/xsessions"
|
||||
|
||||
# Skrypt startx
|
||||
cat > "${PKGDIR}/usr/bin/startx-wlasnyos" << 'EOF'
|
||||
#!/bin/sh
|
||||
# Start WlasnyOS Desktop Environment
|
||||
export DISPLAY=:0
|
||||
feh --bg-fill /usr/share/wallpapers/wlasnyos.png &
|
||||
exec dwm
|
||||
EOF
|
||||
chmod +x "${PKGDIR}/usr/bin/startx-wlasnyos"
|
||||
|
||||
# xinitrc
|
||||
cat > "${PKGDIR}/etc/skel/.xinitrc" << 'EOF'
|
||||
#!/bin/sh
|
||||
xterm &
|
||||
feh --bg-fill /usr/share/wallpapers/wlasnyos.png &
|
||||
exec dwm
|
||||
EOF
|
||||
|
||||
# sesja desktop
|
||||
cat > "${PKGDIR}/usr/share/xsessions/wlasnyos.desktop" << 'EOF'
|
||||
[Desktop Entry]
|
||||
Name=WlasnyOS
|
||||
Comment=Srodowisko graficzne WlasnyOS
|
||||
Exec=/usr/bin/startx-wlasnyos
|
||||
Type=Application
|
||||
EOF
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
#!/bin/bash
|
||||
# Receptura pakietu dla wpkg
|
||||
|
||||
pkgname=wlasnyos-wallpaper
|
||||
pkgver=1.0
|
||||
pkgrel=1
|
||||
pkgdesc="Tapeta systemowa"
|
||||
arch=x86_64
|
||||
url="https://wlasnyos.local"
|
||||
depends=()
|
||||
source=""
|
||||
sha256sum="SKIP"
|
||||
|
||||
build() {
|
||||
# Generowanie prostego obrazu w formacie PPM
|
||||
# Uwaga: w pelnym srodowisku uzylibysmy convert z ImageMagick do stworzenia .png
|
||||
# Dla uproszczenia tworzymy po prostu skrypt, ktory teoretycznie by to robil,
|
||||
# i umieszczamy przykladowy plik graficzny (nawet prosty).
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
WIDTH=1920
|
||||
HEIGHT=1080
|
||||
|
||||
# Tworzymy gradient PPM
|
||||
echo "P3" > wlasnyos.ppm
|
||||
echo "$WIDTH $HEIGHT" >> wlasnyos.ppm
|
||||
echo "255" >> wlasnyos.ppm
|
||||
|
||||
# W rzeczwistosci generowanie tego w bashu zajeloby wieki
|
||||
# Dla demonstracji: przypisujemy szary piksel. System build normalnie wykonalby
|
||||
# pobranie gotowej tapety.
|
||||
# wget "https://example.com/wallpaper.png" -O wlasnyos.png
|
||||
|
||||
# Symulacja
|
||||
echo "This is a placeholder for a PNG wallpaper" > wlasnyos.png
|
||||
}
|
||||
|
||||
package() {
|
||||
mkdir -p "${PKGDIR}/usr/share/wallpapers"
|
||||
cp build/wlasnyos.png "${PKGDIR}/usr/share/wallpapers/wlasnyos.png"
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
#!/bin/bash
|
||||
# Receptura pakietu dla wpkg
|
||||
|
||||
pkgname=xorg-server
|
||||
pkgver=21.1.13
|
||||
pkgrel=1
|
||||
pkgdesc="Serwer X.org (Xvfb + Xvesa)"
|
||||
arch=x86_64
|
||||
url="https://xorg.freedesktop.org/"
|
||||
depends=(pixman libdrm mesa)
|
||||
source="https://www.x.org/releases/individual/xserver/xorg-server-${pkgver}.tar.xz"
|
||||
sha256sum="SKIP"
|
||||
|
||||
build() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
export CC=musl-gcc
|
||||
meson setup build --prefix=/usr \
|
||||
-Dxwayland=false \
|
||||
-Dxnest=false \
|
||||
-Dxvfb=true \
|
||||
-Dxkb_dir=/usr/share/X11/xkb
|
||||
ninja -C build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
DESTDIR="${PKGDIR}" ninja -C build install
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
# Receptura pakietu dla wpkg
|
||||
|
||||
pkgname=xterm
|
||||
pkgver=394
|
||||
pkgrel=1
|
||||
pkgdesc="Terminal X11"
|
||||
arch=x86_64
|
||||
url="https://invisible-island.net/xterm/"
|
||||
depends=(libx11)
|
||||
source="https://invisible-mirror.net/archives/xterm/xterm-${pkgver}.tgz"
|
||||
sha256sum="SKIP"
|
||||
|
||||
build() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
./configure --prefix=/usr CC=musl-gcc
|
||||
make -j$(nproc)
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
make DESTDIR="${PKGDIR}" install
|
||||
}
|
||||
Reference in New Issue
Block a user