blob: dfd43910e3c491ccad15245914b946d20d42245c (
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
28
29
30
31
32
33
34
35
36
37
38
|
# Maintainer: Hokuto <abrahamhokuto@outlook.com>
pkgname=windows-longhorn-icons-git
pkgver=r2.832012f
pkgrel=1
pkgdesc="The Longhorn Icon theme for Linux (git version)"
arch=('any')
url="https://github.com/Elbullazul/Longhorn-Icon-theme"
license=('GPL')
makedepends=('git')
source=('git+https://github.com/Elbullazul/Longhorn-Icon-theme.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/Longhorn-Icon-theme"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "$srcdir/Longhorn-Icon-theme"
patch -p0 -i ../../index.theme.patch
}
package() {
cd "$srcdir/Longhorn-Icon-theme"
rm README.md
rm LICENSE
rm -rf .git
install -d -m 755 "$pkgdir/usr/share/icons/Windows-Longhorn-Icons"
find . -type f -exec \
install -D -m 644 '{}' "$pkgdir/usr/share/icons/Windows-Longhorn-Icons/{}" \;
find . -type l -exec \
install -D -m 644 '{}' "$pkgdir/usr/share/icons/Windows-Longhorn-Icons/{}" \;
}
|