🌈️ apply a wallpaper based on the weather outside
0

Configure Feed

Select the types of activity you want to include in your feed.

feat: add PKGBUILD

Angel Wang (Jun 21, 2026, 4:56 PM -0600) c7b465e6 b8de15c1

+38
+38
PKGBUILD
··· 1 + pkgname=rainwall-git 2 + pkgver=r20.b8de15c 3 + pkgrel=1 4 + pkgdesc="Apply a wallpaper based on the weather outside" 5 + arch=('any') 6 + url="https://github.com/weightedangelcube/rainwall" 7 + license=('GPL-3.0-only') 8 + depends=('imagemagick') 9 + makedepends=('git' 'deno') 10 + provides=("${pkgname%-git}") 11 + conflicts=("${pkgname%-git}") 12 + source=('git+https://github.com/weightedangelcube/rainwall.git') 13 + options=(!strip) 14 + b2sums=('SKIP') 15 + 16 + pkgver() { 17 + cd "$srcdir/${pkgname%-git}" 18 + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)" 19 + } 20 + 21 + prepare() { 22 + cd "$srcdir/${pkgname%-git}" 23 + deno install 24 + } 25 + 26 + build() { 27 + cd "$srcdir/${pkgname%-git}" 28 + deno compile --output build/rainwall-analyze -A analyze/index.ts 29 + deno compile --output build/rainwall-apply -A apply/index.ts 30 + } 31 + 32 + package() { 33 + cd "$srcdir/${pkgname%-git}" 34 + install -Dm755 "build/${pkgname%-git}-analyze" -t "$pkgdir/usr/bin" 35 + install -Dm755 "build/${pkgname%-git}-apply" -t "$pkgdir/usr/bin" 36 + 37 + install -Dm644 README.md -t "$pkgdir/usr/share/doc/${pkgname%-git}" 38 + }