summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 35e0dda134bee82b753f86f34a6ccb85064d7943 (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-linux-2d
pkgname=arch-linux-2d-wallpapers
pkgver=1.0.1
pkgrel=1
pkgdesc='Collection of Arch Logo 2D Wallpapers'
arch=(any)
url='https://wallpaperzone.tumblr.com/tagged/linux/page/3'
_url="https://github.com/MMcQueenGNU"
license=('CC-BY-SA')
source=("$_url/$pkgname/archive/refs/tags/v$pkgver.tar.gz")

md5sums=('51da4e44e1bf5c80c7c7f15bf8ba5238')

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
}