build: update to split package
This commit is contained in:
parent
6ad1568407
commit
80b7e4df8e
2 changed files with 46 additions and 4 deletions
20
PKGBUILD
20
PKGBUILD
|
@ -1,9 +1,9 @@
|
|||
# Maintainer: Sebin Nyshkim <sebin.nyshkim@icloud.com>
|
||||
|
||||
pkgbase='sebin-dynamic-wallpaper'
|
||||
pkgname="$pkgbase"
|
||||
pkgver=1.0.2
|
||||
pkgrel=2
|
||||
pkgname=($pkgbase{,-kde})
|
||||
pkgver=1.0.5
|
||||
pkgrel=1
|
||||
pkgdesc="A dynamic wallpaper of Sebin that changes throughout the day"
|
||||
arch=('any')
|
||||
license=('unknown')
|
||||
|
@ -31,8 +31,20 @@ sha256sums=(
|
|||
"a49d61bd0872fafd8e9a16c3b1d9f656dfcc56184f0ea9fa527fb41bb939a706"
|
||||
)
|
||||
|
||||
package() {
|
||||
build_sebin-dynamic-wallpaper-kde() {
|
||||
kdynamicwallpaperbuilder "sebin-kdynamicwallpaperbuilder.json" --output "sebin-dyn_wallpaper.heic"
|
||||
source+=("sebin-dyn_wallpaper.heic")
|
||||
sha256sums+=(${sha256sum "sebin-dyn_wallpaper.heic"})
|
||||
}
|
||||
|
||||
package_sebin-dynamic-wallpaper() {
|
||||
install -Dm644 *.png -t "$pkgdir/usr/share/backgrounds/$pkgname/"
|
||||
install -Dm644 "sebin-timed.xml" "$pkgdir/usr/share/backgrounds/$pkgname/sebin-timed.xml"
|
||||
install -Dm644 "sebin.xml" "$pkgdir/usr/share/gnome-background-properties/sebin.xml"
|
||||
}
|
||||
|
||||
package_sebin-dynamic-wallpaper-kde() {
|
||||
depends=(plasma5-wallpapers-dynamic)
|
||||
|
||||
install -Dm644 "sebin-dyn_wallpaper.heic" -t "$pkgdir/usr/share/backgrounds/$pkgname/"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue