blob: ed04c2c29561a1917e7f51adf7317222ba9198e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: foxbox <foxbox.aur@proton.me>
pkgname=fox-neat-wallpaper
pkgver=0.1.3
pkgrel=1
pkgdesc="A wallpaper based for archlinux and xfce4 that shows installed packages"
arch=('any')
url="https://github.com/jNullj/$pkgname"
license=('MIT')
depends=('imagemagick' 'xfconf' 'pacman-contrib' 'chromium')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/jNullj/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('172578f31656f82b5084a8bb4e45bf2c64b936173bca00104a2c054fece022bc')
package() {
cd "${pkgname}-${pkgver}"
install -Dm755 "$pkgname.sh" "$pkgdir/opt/$pkgname/$pkgname.sh"
install -Dm644 "render.html" "$pkgdir/opt/$pkgname/render.html"
install -Dm644 "render.css" "$pkgdir/opt/$pkgname/render.css"
install -Dm644 "render.js" "$pkgdir/opt/$pkgname/render.js"
install -Dm755 "hook-script.sh" "$pkgdir/opt/$pkgname/hook-script.sh"
install -Dm644 "logo.svg" "$pkgdir/opt/$pkgname/logo.svg"
mkdir -p "$pkgdir/usr/bin/"
ln -rTsF "$pkgdir/opt/$pkgname/$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
install -Dm755 "$pkgname.hook" "$pkgdir/etc/pacman.d/hooks/$pkgname.hook"
install -Dm644 "$pkgname.service" "$pkgdir/usr/lib/systemd/user/$pkgname.service"
install -Dm644 "$pkgname.timer" "$pkgdir/usr/lib/systemd/user/$pkgname.timer"
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|