mirror of
https://aur.archlinux.org/aptly-zsh-completion-git.git
synced 2024-11-21 10:30:59 +02:00
Fixup PKGBUILD
* Use correct conflicts and provides lines * Also include LICENSE in the built package
This commit is contained in:
parent
40eaed3a56
commit
3cc5354122
9
.SRCINFO
9
.SRCINFO
@ -1,16 +1,15 @@
|
||||
pkgbase = aptly-zsh-completion-git
|
||||
pkgdesc = ZSH completion for aptly
|
||||
pkgver = r18.8aff667
|
||||
pkgrel = 1
|
||||
pkgver = r18.8aff6674ac30
|
||||
pkgrel = 2
|
||||
url = https://github.com/steinymity/aptly-zsh
|
||||
arch = any
|
||||
license = MIT
|
||||
makedepends = git
|
||||
depends = zsh
|
||||
provides = aptly-zsh-completion-git
|
||||
conflicts = aptly-zsh-completion-git
|
||||
provides = aptly-zsh-completion
|
||||
conflicts = aptly-zsh-completion
|
||||
source = aptly-zsh-completion-git::git+https://github.com/steinymity/aptly-zsh
|
||||
md5sums = SKIP
|
||||
|
||||
pkgname = aptly-zsh-completion-git
|
||||
|
||||
|
20
PKGBUILD
20
PKGBUILD
@ -1,23 +1,18 @@
|
||||
# Maintainer: Arti Zirk <arti.zirk@gmail.com>
|
||||
|
||||
pkgname=aptly-zsh-completion-git
|
||||
pkgver=r18.8aff667
|
||||
pkgrel=1
|
||||
_pkgname="aptly-zsh-completion"
|
||||
pkgname="${_pkgname}-git"
|
||||
pkgver=r18.8aff6674ac30
|
||||
pkgrel=2
|
||||
pkgdesc="ZSH completion for aptly"
|
||||
arch=('any')
|
||||
url="https://github.com/steinymity/aptly-zsh"
|
||||
license=('MIT')
|
||||
groups=()
|
||||
depends=('zsh')
|
||||
makedepends=('git')
|
||||
provides=("${pkgname}")
|
||||
conflicts=("${pkgname}")
|
||||
replaces=()
|
||||
backup=()
|
||||
options=()
|
||||
install=
|
||||
source=('aptly-zsh-completion-git::git+https://github.com/steinymity/aptly-zsh')
|
||||
noextract=()
|
||||
provides=("${_pkgname}")
|
||||
conflicts=("${_pkgname}")
|
||||
source=("${pkgname}::git+https://github.com/steinymity/aptly-zsh")
|
||||
md5sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
@ -28,4 +23,5 @@ pkgver() {
|
||||
package() {
|
||||
cd "$srcdir/${pkgname}"
|
||||
install -Dm644 _aptly "$pkgdir/usr/share/zsh/site-functions/_aptly"
|
||||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user