diff --git a/pkgbuilds/learn-omarchy/.omarchy/package.json b/pkgbuilds/learn-omarchy/.omarchy/package.json new file mode 100644 index 0000000..7fed645 --- /dev/null +++ b/pkgbuilds/learn-omarchy/.omarchy/package.json @@ -0,0 +1,12 @@ +{ + "source": "local", + "release_ring": "fast", + "min_release_age": "24h", + "upstream": { + "github": "DanWahlin/learn-omarchy", + "checksums": "SHA256SUMS", + "assets": { + "any": "learn-omarchy-{pkgver}.tar.gz" + } + } +} diff --git a/pkgbuilds/learn-omarchy/PKGBUILD b/pkgbuilds/learn-omarchy/PKGBUILD new file mode 100644 index 0000000..a69e0c6 --- /dev/null +++ b/pkgbuilds/learn-omarchy/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Dan Wahlin + +pkgname=learn-omarchy +pkgver=0.2.2 +pkgrel=1 +pkgdesc="Interactive, theme-aware courses for learning Omarchy" +arch=('any') +url="https://github.com/DanWahlin/learn-omarchy" +license=('MIT' 'CC-BY-4.0' 'CC0-1.0') +depends=( + 'bash' 'coreutils' 'sudo' 'hyprland' 'mpv' 'nodejs>=22.6' 'omarchy>=4.0.3' + 'quickshell>=0.3' 'qt6-declarative' 'qt6-multimedia' 'qt6-multimedia-ffmpeg' 'xdg-utils' + 'xdg-terminal-exec' 'nautilus' + 'ttf-liberation' 'noto-fonts-emoji' + 'grim' 'slurp' 'gpu-screen-recorder' 'util-linux' 'ffmpeg' +) +makedepends=('make') +optdepends=( + 'btop: activity-monitor practice' + 'tesseract: OCR practice' + 'tesseract-data-eng: English OCR sample recognition' + 'zbar: QR recognition (zbarimg)' + 'qrencode: QR sample creation' + 'voxtype: optional dictation practice' +) +options=('!strip') +source=("$pkgname-$pkgver.tar.gz::$url/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz") +sha256sums=('67f14778c2b66d56c1504695b0e11cab603f1a002570abc94b4bae9b0bec6066') + +package() { + cd "$srcdir/$pkgname-$pkgver" + node tools/prepare-release.mjs --check . + make DESTDIR="$pkgdir" PREFIX=/usr install +}