blob: b83a2fc7a95a78873b3ab12309ec81cf8a2e7bcd (
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=sleipnir
url=https://github.com/y-muller/retromega-sleipnir
pkgname=pegasus-frontend-theme-${_theme_name}-git
pkgver=28apr2022.r97.g31da1ac
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}"
}
|