diff options
author | devome | 2024-05-13 14:31:16 +0800 |
---|---|---|
committer | devome | 2024-05-13 14:31:16 +0800 |
commit | 63cd37c41c20b61cf31f4d5c2b0c253efc45ea39 (patch) | |
tree | efbfba26eee5ed21ab647d1d49ccb1664d9c9499 | |
parent | a3e655f3fa1d758e67e8ff7fbfff7b9d01e6c83e (diff) | |
download | aur-63cd37c41c20b61cf31f4d5c2b0c253efc45ea39.tar.gz |
iyuuplus-git: 20240512.192105-1
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 8 insertions, 4 deletions
@@ -1,6 +1,6 @@ pkgbase = iyuuplus-git pkgdesc = IYUU Auto Reseed Plus - pkgver = 20240512.105054 + pkgver = 20240512.192105 pkgrel = 1 url = https://github.com/ledccn/iyuuplus-dev arch = any @@ -2,7 +2,7 @@ _pkgname=iyuuplus pkgname="${_pkgname}-git" -pkgver=20240512.105054 +pkgver=20240512.192105 pkgrel=1 pkgdesc="IYUU Auto Reseed Plus" arch=("any") @@ -22,6 +22,12 @@ sha256sums=('SKIP' '4c0928194248ce56deab7a1eeec78d4a3827d7e8fbceba142b46d4f9c8eed387') options=(!strip !debug) +prepare() { + cd "${_pkgname}" + sed -i 's|<span .\+git_pull.\+通过git拉取最新代码.\+</span>||' plugin/admin/app/view/index/dashboard.html + git tag | tail -1 | sed 's|v||' > .version +} + pkgver() { cd "${_pkgname}" echo "$(git log -1 --format="%cd" --date='format:%Y%m%d.%H%M%S')" @@ -33,8 +39,6 @@ package() { install -Dm644 "${_pkgname}.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/${_pkgname}.conf" cd "${_pkgname}" - sed -i 's|<span .\+git_pull.\+通过git拉取最新代码.\+</span>||' plugin/admin/app/view/index/dashboard.html - install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE" install -Dm644 README.md "${pkgdir}/usr/share/doc/${_pkgname}/README.md" |