diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/cgit/APKBUILD | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/user/cgit/APKBUILD b/user/cgit/APKBUILD index eda8e62b4..9a3be5d89 100644 --- a/user/cgit/APKBUILD +++ b/user/cgit/APKBUILD @@ -3,13 +3,14 @@ # Contributor: zlg <zlg+adelie@zlg.space> # Maintainer: pkgname=cgit -pkgver=1.2.1 -pkgrel=1 -_gitver=2.18.0 +pkgver=1.2.2 +pkgrel=0 +_gitver=2.25.0 pkgdesc="A fast Web interface for Git" url="https://git.zx2c4.com/cgit/" arch="all" license="GPL-2.0-only" +depends="" makedepends="openssl-dev zlib-dev lua5.3-libs lua5.3-dev asciidoctor gettext-tiny-dev" subpackages="$pkgname-doc" source="http://git.zx2c4.com/$pkgname/snapshot/$pkgname-$pkgver.tar.xz @@ -27,8 +28,6 @@ _makeopts="NO_CURL=1 prefix=/usr" prepare() { - cd "$builddir" - # check that upstream git ver corresponds with ours local _ver="$(awk -F'[ \t]*=[ \t]*' '/^GIT_VER/ { print $2 }' Makefile)" if [ "$_ver" != "$_gitver" ]; then @@ -43,23 +42,20 @@ prepare() { } build() { - cd "$builddir" sed -i -e 's:a2x -f:asciidoctor -b:' Makefile make $_makeopts all doc-man } check() { - cd "$builddir" make $_makeopts test } package() { - cd "$builddir" make $_makeopts DESTDIR="$pkgdir" \ CGIT_SCRIPT_PATH=/usr/share/webapps/cgit \ install install-man ln -s cgit.cgi "$pkgdir"/usr/share/webapps/cgit/cgit } -sha512sums="c7380df9afbc3735ef9e4f196f4f5bbd26cf52e473fa6f435e7d0c00dc295cc8de6bee6bfb1857144025c8591d41a6a74efb1af551e8610848d90ac40fcfab36 cgit-1.2.1.tar.xz -db19363c9c2042248322d49874a27c0614acfb912183725e5d4f0331d6b44cef66a9a7da6a49bd4a17e5d86d30c5fed6bef7527f386494184595a433c4060e46 git-2.18.0.tar.xz" +sha512sums="ac006db0b14ae84fc9304b4cb1b49c3445d229593071be39b2d6e2709b54d03b11efd0ac1b5daef8160278303a7611c897fb6cf1e008c66c3f2463151e650af9 cgit-1.2.2.tar.xz +8bbada0451fe0a3314e1b9a43a74135115449aa41f5b3e7f960279e4a7fe6069c36e78825fc4b60d06806e3a6fa8158f327cb8a3801686ac22a35e3704244191 git-2.25.0.tar.xz" |