mirror of
https://aur.archlinux.org/aptly-zsh-completion-git.git
synced 2024-11-23 19:31:01 +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
|
pkgbase = aptly-zsh-completion-git
|
||||||
pkgdesc = ZSH completion for aptly
|
pkgdesc = ZSH completion for aptly
|
||||||
pkgver = r18.8aff667
|
pkgver = r18.8aff6674ac30
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = https://github.com/steinymity/aptly-zsh
|
url = https://github.com/steinymity/aptly-zsh
|
||||||
arch = any
|
arch = any
|
||||||
license = MIT
|
license = MIT
|
||||||
makedepends = git
|
makedepends = git
|
||||||
depends = zsh
|
depends = zsh
|
||||||
provides = aptly-zsh-completion-git
|
provides = aptly-zsh-completion
|
||||||
conflicts = aptly-zsh-completion-git
|
conflicts = aptly-zsh-completion
|
||||||
source = aptly-zsh-completion-git::git+https://github.com/steinymity/aptly-zsh
|
source = aptly-zsh-completion-git::git+https://github.com/steinymity/aptly-zsh
|
||||||
md5sums = SKIP
|
md5sums = SKIP
|
||||||
|
|
||||||
pkgname = aptly-zsh-completion-git
|
pkgname = aptly-zsh-completion-git
|
||||||
|
|
||||||
|
20
PKGBUILD
20
PKGBUILD
@ -1,23 +1,18 @@
|
|||||||
# Maintainer: Arti Zirk <arti.zirk@gmail.com>
|
# Maintainer: Arti Zirk <arti.zirk@gmail.com>
|
||||||
|
|
||||||
pkgname=aptly-zsh-completion-git
|
_pkgname="aptly-zsh-completion"
|
||||||
pkgver=r18.8aff667
|
pkgname="${_pkgname}-git"
|
||||||
pkgrel=1
|
pkgver=r18.8aff6674ac30
|
||||||
|
pkgrel=2
|
||||||
pkgdesc="ZSH completion for aptly"
|
pkgdesc="ZSH completion for aptly"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="https://github.com/steinymity/aptly-zsh"
|
url="https://github.com/steinymity/aptly-zsh"
|
||||||
license=('MIT')
|
license=('MIT')
|
||||||
groups=()
|
|
||||||
depends=('zsh')
|
depends=('zsh')
|
||||||
makedepends=('git')
|
makedepends=('git')
|
||||||
provides=("${pkgname}")
|
provides=("${_pkgname}")
|
||||||
conflicts=("${pkgname}")
|
conflicts=("${_pkgname}")
|
||||||
replaces=()
|
source=("${pkgname}::git+https://github.com/steinymity/aptly-zsh")
|
||||||
backup=()
|
|
||||||
options=()
|
|
||||||
install=
|
|
||||||
source=('aptly-zsh-completion-git::git+https://github.com/steinymity/aptly-zsh')
|
|
||||||
noextract=()
|
|
||||||
md5sums=('SKIP')
|
md5sums=('SKIP')
|
||||||
|
|
||||||
pkgver() {
|
pkgver() {
|
||||||
@ -28,4 +23,5 @@ pkgver() {
|
|||||||
package() {
|
package() {
|
||||||
cd "$srcdir/${pkgname}"
|
cd "$srcdir/${pkgname}"
|
||||||
install -Dm644 _aptly "$pkgdir/usr/share/zsh/site-functions/_aptly"
|
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