Compare commits

...

2 Commits

Author SHA1 Message Date
4b029027f2 add .woodpecker.yml
All checks were successful
Lila-Kuh/gitea-github-theme_AUR/pipeline/head This commit looks good
2023-01-10 19:15:29 +01:00
19ce147bbb del .SRCINFO 2023-01-10 19:11:50 +01:00
3 changed files with 13 additions and 18 deletions

View File

@ -1,12 +0,0 @@
pkgbase = gitea-github-theme
pkgdesc = DEV - GitHub-based light and dark themes for Gitea including an automatic theme switch option
pkgver = 3.1.0
pkgrel = 1
url = https://git.spaeth.biz/Lila-Kuh/gitea-github-theme
arch = any
license = MIT
depends = gitea
source = https://git.spaeth.biz/Lila-Kuh/gitea-github-theme/archive/1.19.0+dev.tar.gz
sha256sums = SKIP
pkgname = gitea-github-theme

5
.woodpecker.yml Normal file
View File

@ -0,0 +1,5 @@
pipeline:
first-job:
image: busybox
commands:
- echo "first run"

View File

@ -7,14 +7,16 @@ pkgdesc='DEV - GitHub-based light and dark themes for Gitea including an automat
arch=('any')
url='https://git.spaeth.biz/Lila-Kuh/gitea-github-theme'
license=('MIT')
depends=('gitea')
depends=('git')
source=("https://git.spaeth.biz/Lila-Kuh/gitea-github-theme/archive/1.19.0+dev.tar.gz")
sha256sums=('SKIP')
package() {
install -d -o gitea -g gitea "${pkgdir}/var/lib/gitea"
install -d -o gitea -g gitea "${pkgdir}/var/lib/gitea/custom"
install -d -o gitea -g gitea "${pkgdir}/var/lib/gitea/custom/public"
install -d -o gitea -g gitea "${pkgdir}/var/lib/gitea/custom/public/css"
install -D -m644 -o gitea -g gitea ${srcdir}/${pkgname}/*css "${pkgdir}/var/lib/gitea/custom/public/css/"
cd "$_pkgname"
mkdir -p "${pkgdir}/var/lib/gitea"
mkdir -p "${pkgdir}/var/lib/gitea/custom"
mkdir -p "${pkgdir}/var/lib/gitea/custom/public"
mkdir -p "${pkgdir}/var/lib/gitea/custom/public/css"
install -D -m 644 ${srcdir}/${pkgname}/*css "${pkgdir}/var/lib/gitea/custom/public/css/"
}