diff options
author | Didek | 2023-12-15 00:50:23 +0100 |
---|---|---|
committer | Didek | 2023-12-15 00:50:23 +0100 |
commit | 07b4b4dc8b3080bc68a33c70a690e899d0e48b58 (patch) | |
tree | 6c28701cba3bd839f5ad8354b01bda5d61a2d1f5 /PKGBUILD | |
download | aur-07b4b4dc8b3080bc68a33c70a690e899d0e48b58.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..162abfdb3b0b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Dawid Rejowski <rejowski.xyz> +pkgname=pacpaper-git +pkgver=r4.c600133 +pkgrel=1 +pkgdesc="Wallpaper that applies a mask effect with text listing packages on system" +arch=("any") +url="https://codeberg.org/Didek/pacpaper" +license=('GPL3') +depends=("imagemagick" "gsfonts") +makedepends=('git') +provides=("pacpaper") +conflicts=("pacpaper") +source=("${pkgname%-VCS}::git+https://codeberg.org/Didek/pacpaper") +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/${pkgname%-VCS}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "$srcdir/${pkgname%-VCS}" + install -Dm755 "./pacpaper" "$pkgdir/usr/bin/pacpaper" + install -Dm644 "./base_wallpaper.png" "$pkgdir/usr/share/pacpaper/base_wallpaper.png" +} |