blob: 94497604d48f97d31f04f9e6747ab4293b41d1fd (
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
39
|
_pkgbase="redmond97"
pkgname="${_pkgbase}-gtk-theme-git"
pkgver=r75.f33bc05
pkgrel=1
pkgdesc="A Win9x inspired GTK2/GTK3 theme developed for XFCE4"
arch=(any)
url="https://github.com/matthewmx86/Redmond97"
license=('GPL3')
depends=(gtk3)
makedepends=(git)
optdepends=(ttf-ms-fonts)
conflicts=("${_pkgbase}-gtk-theme")
source=("git+https://github.com/matthewmx86/Redmond97.git")
sha512sums=(SKIP)
pkgver() {
cd "Redmond97"
( set -o pipefail
git describe --long --abbrev=7 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
)
}
package() {
cd Redmond97/Theme
_saveifs=$IFS
IFS=$(echo -en "\n\b")
install -d "${pkgdir}/usr/share"
cp -r "csd/" "${pkgdir}/usr/share/themes/"
for _theme in $(ls "${pkgdir}/usr/share/themes"); do
chmod -R 755 "${pkgdir}/usr/share/themes/${_theme}"
done
IFS=$_saveifs
}
|