diff options
author | David Rosenstrauch | 2022-10-28 18:14:59 -0400 |
---|---|---|
committer | David Rosenstrauch | 2022-10-28 18:14:59 -0400 |
commit | 272f097b89045bc32d5b40dbbc35ffc51d1d11db (patch) | |
tree | 501eb359215d95b0b385edb3c1abcf1650869c46 | |
download | aur-gitea-github-theme.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 32 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d30244daf33e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,12 @@ +pkgbase = gitea-github-theme + pkgdesc = GitHub-based light and dark themes for Gitea including an automatic theme switch option + pkgver = 3.0.0 + pkgrel = 1 + url = https://codeberg.org/pat-s/gitea-github-theme + arch = any + license = MIT + depends = gitea + source = https://codeberg.org/pat-s/gitea-github-theme/archive/v3.0.0.tar.gz + sha256sums = ea6a3f90e1407375b0960ddb0d5880b781584a37c182cfc2759a31c0d5f93fda + +pkgname = gitea-github-theme diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..42def4406434 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,20 @@ +# Maintainer: David Rosenstrauch <darose@darose.net> + +pkgname=gitea-github-theme +pkgver=3.0.0 +pkgrel=1 +pkgdesc='GitHub-based light and dark themes for Gitea including an automatic theme switch option' +arch=('any') +url='https://codeberg.org/pat-s/gitea-github-theme' +license=('MIT') +depends=('gitea') +source=("https://codeberg.org/pat-s/gitea-github-theme/archive/v3.0.0.tar.gz") +sha256sums=('ea6a3f90e1407375b0960ddb0d5880b781584a37c182cfc2759a31c0d5f93fda') + +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/" +} |