blob: 8a7d9e379c4866d4c970b1d4cc5dae40965aeacd (
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
|
# Maintainer: snogard <snogardb at gmail dot com>
_theme_name=xboxos
url=https://github.com/alfredolvera/XboxOS
pkgname=pegasus-frontend-theme-${_theme_name}-git
pkgver=v1.4.1.r0.g7f9e19b
pkgrel=1
pkgdesc="theme for pegasus frontend"
arch=(any)
license=(GPL3)
depends=(pegasus-frontend)
makedepends=(git)
source=("${_theme_name}::git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${_theme_name}"
if $(git describe --long --tags > /dev/null ) ; then
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
else
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
fi
}
build()
{
rm -r ${srcdir}/${_theme_name}/.git
}
package(){
install -dm755 ${pkgdir}/usr/share/pegasus-frontend/themes
cp -r --no-preserve=mode,ownership "${srcdir}/${_theme_name}" "${pkgdir}/usr/share/pegasus-frontend/themes/${_theme_name}"
}
|