Skip to content

Commit 5ecfb0c

Browse files
committed
[update] : Use new Git repository
1 parent d05cb92 commit 5ecfb0c

File tree

2 files changed

+30
-65
lines changed

2 files changed

+30
-65
lines changed
Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,11 @@
11
pkgbase = alterlinux-wallpapers
22
pkgdesc = AlterLinux wallpapers
3-
pkgver = 6.0
3+
pkgver = 7.0
44
pkgrel = 1
55
url = https:/fascode.net
66
arch = any
7-
source = alter.png
8-
source = alter-old.png
9-
source = alter-jiju.png
10-
source = alter-nochr.png
11-
source = alterlinux-wallpapers-xfce
12-
source = alterlinux-wallpapers-xfce-blue.hook
13-
source = alterlinux-wallpapers-xfce-stripes.hook
14-
source = alterlinux-wallpapers-xfce-teal.hook
15-
source = alterlinux-wallpapers-xfce-verticals.hook
16-
source = alterlinux-wallpapers-lxde
17-
source = alterlinux-wallpapers-lxde-blue.hook
18-
md5sums = 75bbf3e0c33d0d7f4e09e9a5489691ff
19-
md5sums = 42b477468bc5d88825b41e8522552ad3
20-
md5sums = ca58c394911aa211c5712fabbad23fe2
21-
md5sums = aea503af241273d8773b4abefee8992e
22-
md5sums = 845f106696fbac435126babebd728185
23-
md5sums = e05b85d07afede613e2a3f7e8e5ee2d4
24-
md5sums = 1c55857c4ab27651ce4db065814df1f0
25-
md5sums = 768f565556b2a8bb92696cb16565e06a
26-
md5sums = d7d6d27ac3e8f278b11179485cb7edc1
27-
md5sums = d0ae4ee0249809481dab7ede4df44a42
28-
md5sums = 08e386e460d763171e1aed033f8d53e1
7+
source = https://github.com/FascodeNet/alterlinux-wallpapers/archive/refs/tags/v7.0.zip
8+
md5sums = SKIP
299

3010
pkgname = alterlinux-wallpapers
3111

Lines changed: 27 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,47 @@
11
# Maintainer : Yamada Hayao <[email protected]>
22
# Maintainer : lap1sid <[email protected]>
33

4-
pkgname=alterlinux-wallpapers
5-
pkgver=6.0
4+
_pkgname="alterlinux-wallpapers"
5+
pkgname="${_pkgname}"
6+
pkgver="7.0"
67
pkgrel=1
78
pkgdesc='AlterLinux wallpapers'
89
arch=('any')
910
url='https:/fascode.net'
10-
source=("alter.png"
11-
"alter-old.png"
12-
"alter-jiju.png"
13-
"alter-nochr.png"
14-
15-
"alterlinux-wallpapers-xfce"
16-
"alterlinux-wallpapers-xfce-blue.hook"
17-
"alterlinux-wallpapers-xfce-stripes.hook"
18-
"alterlinux-wallpapers-xfce-teal.hook"
19-
"alterlinux-wallpapers-xfce-verticals.hook"
20-
21-
"alterlinux-wallpapers-lxde"
22-
"alterlinux-wallpapers-lxde-blue.hook"
23-
)
11+
source=("https://github.com/FascodeNet/alterlinux-wallpapers/archive/refs/tags/v${pkgver}.zip")
2412

25-
md5sums=('75bbf3e0c33d0d7f4e09e9a5489691ff'
26-
'42b477468bc5d88825b41e8522552ad3'
27-
'ca58c394911aa211c5712fabbad23fe2'
28-
'aea503af241273d8773b4abefee8992e'
29-
30-
"845f106696fbac435126babebd728185"
31-
"e05b85d07afede613e2a3f7e8e5ee2d4"
32-
"1c55857c4ab27651ce4db065814df1f0"
33-
"768f565556b2a8bb92696cb16565e06a"
34-
"d7d6d27ac3e8f278b11179485cb7edc1"
35-
36-
"d0ae4ee0249809481dab7ede4df44a42"
37-
"08e386e460d763171e1aed033f8d53e1"
38-
)
13+
md5sums=("SKIP")
14+
15+
maindirname="${_pkgname}-${pkgver}"
16+
3917
package() {
40-
cd "${srcdir}"
18+
cd "${srcdir}/${maindirname}"
19+
20+
# Install files
21+
find "${srcdir}/${maindirname}/images" -type f -name "*.png" -print0 | xargs -0 -I{} install -Dm644 --target-directory="${pkgdir}/usr/share/backgrounds/" {}
4122

42-
# Install images
43-
install -Dm644 "${srcdir}/alter.png" "${pkgdir}/usr/share/backgrounds/alter.png"
44-
for image in "${srcdir}"/alter-*.png; do
45-
install -Dm644 "${srcdir}/$(basename ${image})" "${pkgdir}/usr/share/backgrounds/$(basename ${image})"
46-
done
23+
find "${srcdir}/${maindirname}/scripts" -type f -print0 | xargs -0 -I{} install -Dm755 --target-directory="${pkgdir}/usr/share/libalpm/scripts/" {}
24+
25+
find "${srcdir}/${maindirname}/hooks" -type f -name "*.hook" -print0 | xargs -0 -I{} install -Dm644 --target-directory="${pkgdir}/usr/share/libalpm/hooks/" {}
26+
4727

4828
# OLD CODE
29+
#install -Dm644 "${srcdir}/alter.png" "${pkgdir}/usr/share/backgrounds/alter.png"
30+
#for image in "${srcdir}"/alter-*.png; do
31+
# install -Dm644 "${srcdir}/$(basename ${image})" "${pkgdir}/usr/share/backgrounds/$(basename ${image})"
32+
#done
33+
4934
#install -Dm644 "${srcdir}/alter-old.png" "${pkgdir}/usr/share/backgrounds/alter-old.png"
5035
#install -Dm644 "${srcdir}/alter-jiju.png" "${pkgdir}/usr/share/backgrounds/alter-jiju.png"
5136
#install -Dm644 "${srcdir}/alter-nochr.png" "${pkgdir}/usr/share/backgrounds/alter-nochr.png"
5237

5338
# Install Scripts
54-
install -Dm755 "${srcdir}/alterlinux-wallpapers-xfce" "${pkgdir}/usr/share/libalpm/scripts/alterlinux-wallpapers-xfce"
55-
install -Dm755 "${srcdir}/alterlinux-wallpapers-lxde" "${pkgdir}/usr/share/libalpm/scripts/alterlinux-wallpapers-lxde"
39+
#install -Dm755 "${srcdir}/alterlinux-wallpapers-xfce" "${pkgdir}/usr/share/libalpm/scripts/alterlinux-wallpapers-xfce"
40+
#install -Dm755 "${srcdir}/alterlinux-wallpapers-lxde" "${pkgdir}/usr/share/libalpm/scripts/alterlinux-wallpapers-lxde"
5641

5742
# Install hooks
58-
local hook
59-
for hook in "${srcdir}"/*.hook; do
60-
install -Dm644 "${srcdir}/$(basename ${hook})" "${pkgdir}/usr/share/libalpm/hooks/$(basename ${hook})"
61-
done
43+
#local hook
44+
#for hook in "${srcdir}"/*.hook; do
45+
# install -Dm644 "${srcdir}/$(basename ${hook})" "${pkgdir}/usr/share/libalpm/hooks/$(basename ${hook})"
46+
#done
6247
}

0 commit comments

Comments
 (0)