summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a15980be85eb2b0494dae6ceed951cc77b039ccf (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: McQueen <clear3239@yahoo.com>
_pkgname=arch-logo-dark
pkgname=arch-logo-dark-wallpapers
pkgver=1.0.1
pkgrel=1
pkgdesc='Collection of Arch Logo Dark Wallpapers'
arch=(any)
url='https://ffwallpaper.com/arch-linux.html'
_url="https://github.com/MMcQueenGNU"
license=('CC-BY-SA')
source=("$_url/$pkgname/archive/refs/tags/v$pkgver.tar.gz")

sha256sums=('10edf5e360457fbc7ecf1d250974f4bbfb8b00c6d7e64e52ace802d010333f17')

package() {

	cd "$srcdir/$pkgname-$pkgver/$_pkgname"

	# Creating needed directories
	install -dm755 "${pkgdir}/usr/share/backgrounds/$_pkgname/"

	# Wallpapers
	local wallpaper
	for wallpaper in *; do
		install -m755 "$srcdir/$pkgname-$pkgver/$_pkgname/${wallpaper}" "$pkgdir/usr/share/backgrounds/$_pkgname/${wallpaper}"
	done
}