diff options
author | Luis Martinez | 2021-10-24 19:27:08 -0500 |
---|---|---|
committer | Luis Martinez | 2021-10-24 19:27:08 -0500 |
commit | 7a44272f4ada3770bdf1f4fad4b3f090525288d9 (patch) | |
tree | 72ac4b47e98f621c2619af4ff223c6dcdf25eb5d | |
parent | d341eb62e9e5bed692867d308c07d3bd529d4038 (diff) | |
download | aur-fish-systemd-git.tar.gz |
package cleanup
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 16 insertions, 14 deletions
@@ -1,7 +1,7 @@ pkgbase = fish-systemd-git pkgdesc = Comfortable fish aliases for systemctl commands - pkgver = r8.b570b22 - pkgrel = 1 + pkgver = r10.4e922a2 + pkgrel = 2 url = https://github.com/wawa19933/fish-systemd arch = any groups = fish-plugins @@ -9,8 +9,8 @@ pkgbase = fish-systemd-git makedepends = git depends = fish provides = fish-systemd + conflicts = fish-systemd source = fish-systemd-git::git+https://github.com/wawa19933/fish-systemd sha256sums = SKIP pkgname = fish-systemd-git - @@ -1,7 +1,8 @@ -# Maintainer: lmartinez-mirror +# Maintainer: Luis Martinez <luis dot martinez at disroot dot org> + pkgname=fish-systemd-git -pkgver=r8.b570b22 -pkgrel=1 +pkgver=r10.4e922a2 +pkgrel=2 pkgdesc="Comfortable fish aliases for systemctl commands" arch=('any') url="https://github.com/wawa19933/fish-systemd" @@ -9,19 +10,20 @@ license=('Unlicense') groups=('fish-plugins') depends=('fish') makedepends=('git') -provides=('fish-systemd') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") source=("$pkgname::git+$url") sha256sums=('SKIP') pkgver() { - cd "$pkgname" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + cd "$pkgname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } package() { - cd "$pkgname" - install -Dm 644 conf.d/systemd-abbr.fish -t "$pkgdir/etc/fish/conf.d/" - install -Dm 644 functions/systemctl.fish -t "$pkgdir/usr/share/fish/functions/" - install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" - install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/" + cd "$pkgname" + install -Dm 644 conf.d/systemd-abbr.fish -t "$pkgdir/usr/share/fish/vendor_conf.d/" + install -Dm 644 functions/systemctl.fish -t "$pkgdir/usr/share/fish/vendor_functions.d/" + install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" + install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/" } |