diff --git a/.SRCINFO b/.SRCINFO index c928261..e7b6c5b 100644 --- a/.SRCINFO +++ b/.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 - diff --git a/PKGBUILD b/PKGBUILD index af8c60f..aa3b655 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,23 +1,18 @@ # Maintainer: Arti Zirk -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" }