summaryrefslogtreecommitdiff
path: root/user/adelie-wallpapers/APKBUILD
blob: c967370f16fd5f6b66b31205151d3c89e3b8aae9 (plain) (blame)
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
28
29
30
31
32
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=adelie-wallpapers
pkgver=1.1
pkgrel=0
pkgdesc="Wallpapers from the Adélie Linux team"
url="https://www.adelielinux.org/"
arch="noarch"
options="!check"  # No test suite.
license="CC-BY-SA-4.0"
depends=""
makedepends=""
subpackages="$pkgname-core"
source="https://distfiles.adelielinux.org/source/adelie-wallpapers-$pkgver.tar.xz"

package() {
	mkdir -p "$pkgdir"
	mv "$builddir"/usr "$pkgdir"/
}

core() {
	provides="$pkgname=1"
	description="Base wallpapers needed for minimal desktop environments"

	mkdir -p "$subpkgdir"/usr/share/wallpapers
	for wallpaper in background lockscreen; do
		cp -r "$pkgdir"/usr/share/wallpapers/$wallpaper \
			"$subpkgdir"/usr/share/wallpapers/
	done
}

sha512sums="0b8dbcce13bdd7b4e4f4b62a6cb085c238f05ecf220998b42afc16baf18754722f75dc02d61f0157a1e0b0d9a961af6bc1c5a844fbe0a6f9df0511d38ebfb65d  adelie-wallpapers-1.1.tar.xz"