summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJingbei Li2023-08-23 15:30:56 +0800
committerJingbei Li2023-08-23 15:30:56 +0800
commit13171c85594cd36fee2e0415eaa356e5ea99e2b0 (patch)
treee6558ab9e8ac61c3550515466e8e105b3b05e39e /PKGBUILD
parent25df19bd640fc0ab92c437608573004578691c75 (diff)
downloadaur-13171c85594cd36fee2e0415eaa356e5ea99e2b0.tar.gz
added github-actions-bin.install
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-xPKGBUILD17
1 files changed, 2 insertions, 15 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e3c9a06c374d..161a6ab0ff41 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
_pkgname=github-actions
pkgname=${_pkgname}-bin
pkgver=2.308.0
-pkgrel=1
+pkgrel=2
pkgdesc='GitHub Actions self-hosted runner tools.'
arch=('x86_64' 'armv6h' 'armv7h' 'aarch64')
url='https://github.com/actions/runner'
@@ -13,7 +13,7 @@ license=('MIT')
OPTIONS=(!strip !docs libtool emptydirs)
-install=PKGBUILD
+install="${pkgname}.install"
provides=($_pkgname)
conflicts=($_pkgname)
@@ -68,16 +68,3 @@ package() {
install -Dm644 "$srcdir"/$_pkgname.sysusers "${pkgdir}"/usr/lib/sysusers.d/$_pkgname.conf
install -Dm644 "$srcdir"/$_pkgname.service "${pkgdir}"/usr/lib/systemd/system/$_pkgname.service
}
-
-pre_remove() {
- if systemctl -q is-enabled $_pkgname.service; then
- systemctl disable $_pkgname.service
- fi
-}
-
-post_remove() {
- echo
- echo "Remove $_pkgname user and this HOME /var/lib/$_pkgname manually, if not needed anymore."
- echo
-}
-