-
Notifications
You must be signed in to change notification settings - Fork 0
/
PKGBUILD
43 lines (36 loc) · 807 Bytes
/
PKGBUILD
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
40
41
42
43
pkgname=slim-theme-redhex
pkgver=1.0
pkgrel=1
pkgdesc="Red Hex SLiM theme"
url="http://lp.wildwestscifi.net"
arch=('i686' 'x86_64')
license=('GPL')
groups=()
depends=()
makedepends=()
provides=('slim-theme-redhex')
conflicts=()
replaces=()
backup=()
options=()
source=()
noextract=()
md5sums=()
_gitroot="https://github.com/whoracle/slimtheme"
_gitname=slimtheme
build() {
cd "$srcdir"
if [ -d $srcdir/$_gitname ] ; then
cd $srcdir/$_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot $_gitname
fi
msg "GIT checkout done or server timeout"
}
package() {
cd "$srcdir/$_gitname"
install -v -d "$pkgdir/usr/share/slim/themes/redhex"
cp slim.theme panel.png background.png $pkgdir/usr/share/slim/themes/redhex/
msg "Finished packaging"
}