summaryrefslogblamecommitdiff
path: root/user/adelie-wallpapers/APKBUILD
blob: bbb0e8e118d44452f53d3e1aec0639a1a2d0fe2e (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                  
          




                                                
                      

              
                           


                                                                                  
                          
                                     

 











                                                                                                                                                                           
# 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=$pkgver-r$pkgrel"
	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"