blob: 0b1bbe7af5243d1aaaee10c8ae6783b1ac717de1 (
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=pegasus-boy
url=https://github.com/gtaforever00/pegasus-boy
pkgname=pegasus-frontend-theme-${_theme_name}-git
pkgver=v0.1.0.r0.g924fe29
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}"
}
|