diff --git a/.SRCINFO b/.SRCINFO deleted file mode 100644 index 1c9ca48..0000000 --- a/.SRCINFO +++ /dev/null @@ -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 diff --git a/PKGBUILD b/PKGBUILD index 234bfae..537e63e 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -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/" }